diff options
author | Martin Langhoff <martin@catalyst.net.nz> | 2006-09-04 17:42:32 +1200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-06 00:21:57 -0700 |
commit | 0ea2582d1cbbacd91eb0f040c4994ecd2bb6cdb9 (patch) | |
tree | f0b4715b6dd34e8386cb18616b0d8e2be8c6d67e /git-rebase.sh | |
parent | Teach rev-list an option to read revs from the standard input. (diff) | |
download | tgif-0ea2582d1cbbacd91eb0f040c4994ecd2bb6cdb9.tar.xz |
git-repack: create new packs inside $GIT_DIR, not cwd
Avoid failing when cwd is !writable by writing the
packfiles in $GIT_DIR, which is more in line with other commands.
Without this, git-repack was failing when run from crontab
by non-root user accounts. For large repositories, this
also makes the mv operation a lot cheaper, and avoids leaving
temp packfiles around the fs upon failure.
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-rebase.sh')
0 files changed, 0 insertions, 0 deletions