summaryrefslogtreecommitdiff
path: root/ssh-fetch.c
diff options
context:
space:
mode:
authorLibravatar Martin Langhoff <martin@catalyst.net.nz>2006-09-04 17:42:32 +1200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-06 00:21:57 -0700
commit0ea2582d1cbbacd91eb0f040c4994ecd2bb6cdb9 (patch)
treef0b4715b6dd34e8386cb18616b0d8e2be8c6d67e /ssh-fetch.c
parentTeach rev-list an option to read revs from the standard input. (diff)
downloadtgif-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 'ssh-fetch.c')
0 files changed, 0 insertions, 0 deletions