]> git.ipfire.org Git - thirdparty/git.git/commit - sha1_file.c
Allow short pack names to git-pack-objects --unpacked=.
authorShawn Pearce <spearce@spearce.org>
Sun, 29 Oct 2006 09:37:11 +0000 (04:37 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 29 Oct 2006 20:46:21 +0000 (12:46 -0800)
commitd4ff6d92c3d7020233a9b4990a3545ee54a5c033
treeb948434fc4ef4f7c02a2e18020a881fd51f5f59e
parent6dcfa306f2b67b733a7eb2d7ded1bc9987809edb
Allow short pack names to git-pack-objects --unpacked=.

This allows us to pass just the file name of a pack rather than
the complete path when we want pack-objects to consider its
contents as though they were loose objects.  This can be helpful
if $GIT_OBJECT_DIRECTORY contains shell metacharacters which make
it cumbersome to pass complete paths safely in a shell script.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c