diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-26 00:50:02 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-28 23:13:02 -0800 |
commit | 53228a5fb8e80f87803e4a3ba8ed25b70fb4871d (patch) | |
tree | 0097d17996b5c71f3fb386eef354c84ffa3caaf2 /unpack-objects.c | |
parent | 5a3277133d200151fe526e56e036c933d343958a (diff) | |
download | git-53228a5fb8e80f87803e4a3ba8ed25b70fb4871d.tar.gz |
Make the rest of commands work from a subdirectory.
These commands are converted to run from a subdirectory.
commit-tree convert-objects merge-base merge-index mktag
pack-objects pack-redundant prune-packed read-tree tar-tree
unpack-file unpack-objects update-server-info write-tree
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'unpack-objects.c')
-rw-r--r-- | unpack-objects.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unpack-objects.c b/unpack-objects.c index 8490895cf0..cfd61ae6b0 100644 --- a/unpack-objects.c +++ b/unpack-objects.c @@ -269,6 +269,8 @@ int main(int argc, char **argv) int i; unsigned char sha1[20]; + setup_git_directory(); + for (i = 1 ; i < argc; i++) { const char *arg = argv[i]; |