diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-20 12:38:10 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-20 12:38:10 -0700 |
commit | f406140baa5128bfa537c271c7292a866c08b7d4 (patch) | |
tree | c52ee64bfc197e86ee928f8e40056f46ab0f7be9 /cache.h | |
parent | Merge branch 'dw/check-ignore-sans-index' (diff) | |
parent | Add new @ shortcut for HEAD (diff) | |
download | tgif-f406140baa5128bfa537c271c7292a866c08b7d4.tar.xz |
Merge branch 'fc/at-head'
Instead of typing four capital letters "HEAD", you can say "@" now,
e.g. "git log @".
* fc/at-head:
Add new @ shortcut for HEAD
sha1-name: pass len argument to interpret_branch_name()
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -880,7 +880,7 @@ extern char *resolve_refdup(const char *ref, unsigned char *sha1, int reading, i extern int dwim_ref(const char *str, int len, unsigned char *sha1, char **ref); extern int dwim_log(const char *str, int len, unsigned char *sha1, char **ref); -extern int interpret_branch_name(const char *str, struct strbuf *); +extern int interpret_branch_name(const char *str, int len, struct strbuf *); extern int get_sha1_mb(const char *str, unsigned char *sha1); extern int refname_match(const char *abbrev_name, const char *full_name, const char **rules); |