summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-27 00:53:29 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-27 00:53:29 -0700
commite9800b28c24465377dc2b8e26b322d362912647c (patch)
treea68c6d69a03497bd297c3a67238cd6e6b6fc505a /git.c
parent244a0ae114824c8ca29bdc2148b98caaae39cac2 (diff)
parenteaf12a8c7d844be947c29954b658c17996abcd25 (diff)
downloadgit-e9800b28c24465377dc2b8e26b322d362912647c.tar.gz
Merge branch 'jc/lt-ref2-with-lt-refs' into jc/ref-locking
* jc/lt-ref2-with-lt-refs: Fix show-ref usage for --dereference. Document git-show-ref [-s|--hash] option. Add man page for git-show-ref gitignore: git-show-ref is a generated file. Use Linus' show ref in "git-branch.sh". Add [-s|--hash] option to Linus' show-ref. Teach "git checkout" to use git-show-ref Add "git show-ref" builtin command
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 561be303dc..f7e7841649 100644
--- a/git.c
+++ b/git.c
@@ -270,6 +270,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "whatchanged", cmd_whatchanged, RUN_SETUP | USE_PAGER },
{ "write-tree", cmd_write_tree, RUN_SETUP },
{ "verify-pack", cmd_verify_pack },
+ { "show-ref", cmd_show_ref, RUN_SETUP },
{ "pack-refs", cmd_pack_refs, RUN_SETUP },
};
int i;