diff options
author | Junio C Hamano <junkio@cox.net> | 2006-09-27 00:53:29 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-27 00:53:29 -0700 |
commit | e9800b28c24465377dc2b8e26b322d362912647c (patch) | |
tree | a68c6d69a03497bd297c3a67238cd6e6b6fc505a /builtin.h | |
parent | 244a0ae114824c8ca29bdc2148b98caaae39cac2 (diff) | |
parent | eaf12a8c7d844be947c29954b658c17996abcd25 (diff) | |
download | git-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 'builtin.h')
-rw-r--r-- | builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -64,6 +64,7 @@ extern int cmd_version(int argc, const char **argv, const char *prefix); extern int cmd_whatchanged(int argc, const char **argv, const char *prefix); extern int cmd_write_tree(int argc, const char **argv, const char *prefix); extern int cmd_verify_pack(int argc, const char **argv, const char *prefix); +extern int cmd_show_ref(int argc, const char **argv, const char *prefix); extern int cmd_pack_refs(int argc, const char **argv, const char *prefix); #endif |