aboutsummaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-12-28 11:32:33 -0800
committerJunio C Hamano <gitster@pobox.com>2011-12-28 11:32:33 -0800
commit79587741cbed7704d2e7213c999cf2841af3000d (patch)
treeac065e7bd784619dbc5cc47e543860b57f71adb3 /branch.h
parente39888ba21b68888e1db2d989155f23ea78fc842 (diff)
parent39bd6f726109942c6f77f59638f6763c9f00706c (diff)
downloadgit-79587741cbed7704d2e7213c999cf2841af3000d.tar.gz
git-79587741cbed7704d2e7213c999cf2841af3000d.tar.xz
Merge branch 'jn/branch-move-to-self' into maint
* jn/branch-move-to-self: Allow checkout -B <current-branch> to update the current branch branch: allow a no-op "branch -M <current-branch> HEAD"
Diffstat (limited to 'branch.h')
-rw-r--r--branch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/branch.h b/branch.h
index 1285158dd..e125ff4ca 100644
--- a/branch.h
+++ b/branch.h
@@ -13,7 +13,8 @@
* branch for (if any).
*/
void create_branch(const char *head, const char *name, const char *start_name,
- int force, int reflog, enum branch_track track);
+ int force, int reflog,
+ int clobber_head, enum branch_track track);
/*
* Validates that the requested branch may be created, returning the