diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-13 12:31:13 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-13 12:31:13 -0800 |
commit | 1f73566af5bec28cd8489c6139a9ede95817349c (patch) | |
tree | b1deca9888bc171d09420d927bbe694795cf5d83 /cache.h | |
parent | 5b9c0a699bdf9727d25eceb7b980dbede96bfd8e (diff) | |
parent | 230a4566382860fc26a3f8d578a41c6504cf865f (diff) | |
download | git-1f73566af5bec28cd8489c6139a9ede95817349c.tar.gz |
Merge branch 'jc/checkout-merge-base'
* jc/checkout-merge-base:
rebase -i: teach --onto A...B syntax
rebase: fix --onto A...B parsing and add tests
"rebase --onto A...B" replays history on the merge base between A and B
"checkout A...B" switches to the merge base between A and B
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -723,6 +723,7 @@ extern const char *resolve_ref(const char *path, unsigned char *sha1, int, int * 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 get_sha1_mb(const char *str, unsigned char *sha1); extern int refname_match(const char *abbrev_name, const char *full_name, const char **rules); extern const char *ref_rev_parse_rules[]; |