Merge branch 'sd/branch-copy'
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2017 06:42:48 +0000 (15:42 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2017 06:42:48 +0000 (15:42 +0900)
commit3b48045c6c73a51834a2f83440a30225485ee431
treeca7e9460aaadd4e6f26414c86bd72df6ab371fb8
parentb2a2c4d8099c69ec997e51cac489c0947ad17956
parente5435ff1fc64d93cce73ec4ee2571219384a92a9
Merge branch 'sd/branch-copy'

"git branch" learned "-c/-C" to create a new branch by copying an
existing one.

* sd/branch-copy:
  branch: fix "copy" to never touch HEAD
  branch: add a --copy (-c) option to go with --move (-m)
  branch: add test for -m renaming multiple config sections
  config: create a function to format section headers
Documentation/git-branch.txt
builtin/branch.c
config.c
config.h
refs.c
refs.h
refs/files-backend.c
refs/packed-backend.c
refs/refs-internal.h
t/t3200-branch.sh