diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-20 23:38:10 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-20 23:38:10 +0400 |
commit | f406140baa5128bfa537c271c7292a866c08b7d4 (patch) | |
tree | c52ee64bfc197e86ee928f8e40056f46ab0f7be9 /cache.h | |
parent | 005a1de380733477382c50e2e44ed8042c401fed (diff) | |
parent | 9ba89f484e023827eca6ad44baf69af37dac4db3 (diff) |
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); |