Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-08-28 02:21:37 +0400
committerJunio C Hamano <gitster@pobox.com>2012-08-28 05:36:39 +0400
commit6571225137b1ba270b49a0dfc6a30aab6f4b86ba (patch)
treebfc6be12df7a548eb0bfcd334d02b32b87e59318 /commit.c
parent5d55915c7a58e59d913b0cfc38a6f49514068cd2 (diff)
http-push: use in_merge_bases() for fast-forward check
The original computed merge-base between HEAD and the remote ref and checked if the remote ref is a merge base between them, in order to make sure that we are fast-forwarding. Instead, call in_merge_bases(remote, HEAD) which does the same. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions