summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-02 02:04:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-02 02:04:55 (GMT)
commit0293121717ba66f089a38ce4d4d895db0f946e49 (patch)
tree2f9691ca131a570751e48f77b6a34c23352c352a /commit.h
parent39f73315454d2553b2d3219a58f5110a60eba5a1 (diff)
parent9dba809a69a7cd2a60e73d1ccaea0812b72b2b79 (diff)
downloadgit-0293121717ba66f089a38ce4d4d895db0f946e49.zip
git-0293121717ba66f089a38ce4d4d895db0f946e49.tar.gz
git-0293121717ba66f089a38ce4d4d895db0f946e49.tar.bz2
Merge branch 'pk/rebase-in-c-4-opts'
Rewrite "git rebase" in C. * pk/rebase-in-c-4-opts: builtin rebase: support --root builtin rebase: add support for custom merge strategies builtin rebase: support `fork-point` option merge-base --fork-point: extract libified function builtin rebase: support --rebase-merges[=[no-]rebase-cousins] builtin rebase: support `--allow-empty-message` option builtin rebase: support `--exec` builtin rebase: support `--autostash` option builtin rebase: support `-C` and `--whitespace=<type>` builtin rebase: support `--gpg-sign` option builtin rebase: support `--autosquash` builtin rebase: support `keep-empty` option builtin rebase: support `ignore-date` option builtin rebase: support `ignore-whitespace` option builtin rebase: support --committer-date-is-author-date builtin rebase: support --rerere-autoupdate builtin rebase: support --signoff builtin rebase: allow selecting the rebase "backend"
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index 1d260d6..6c4428c 100644
--- a/commit.h
+++ b/commit.h
@@ -205,6 +205,8 @@ int register_commit_graft(struct repository *r, struct commit_graft *, int);
void prepare_commit_graft(struct repository *r);
struct commit_graft *lookup_commit_graft(struct repository *r, const struct object_id *oid);
+struct commit *get_fork_point(const char *refname, struct commit *commit);
+
/* largest positive number a signed 32-bit integer can contain */
#define INFINITE_DEPTH 0x7fffffff