diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2006-09-14 05:03:59 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-13 23:38:46 -0700 |
commit | 8112894d82637c199294702942cac477b756b678 (patch) | |
tree | dc6768c378694ab44db00471c198ac0b75c6936d /describe.c | |
parent | 551029af305e04bed638771a3932e376243dddcb (diff) | |
download | git-8112894d82637c199294702942cac477b756b678.tar.gz git-8112894d82637c199294702942cac477b756b678.tar.xz |
Make count-objects, describe and merge-tree work in subdirectory
Call setup_git_directory() to make these commands work in subdirectory.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'describe.c')
-rw-r--r-- | describe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/describe.c b/describe.c index 5dd8b2e39..5ed052d3a 100644 --- a/describe.c +++ b/describe.c @@ -161,6 +161,8 @@ int main(int argc, char **argv) usage(describe_usage); } + setup_git_directory(); + if (i == argc) describe("HEAD", 1); else |