summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-09-20 12:38:10 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-20 12:38:10 -0700
commitf406140baa5128bfa537c271c7292a866c08b7d4 (patch)
treec52ee64bfc197e86ee928f8e40056f46ab0f7be9 /cache.h
parentMerge branch 'dw/check-ignore-sans-index' (diff)
parentAdd new @ shortcut for HEAD (diff)
downloadtgif-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index a47b9c0303..51d6602cd9 100644
--- a/cache.h
+++ b/cache.h
@@ -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);