[PATCH v2 3/3] branch: add a --copy (-c) option to go with --move (-m)

2017-07-05 Thread Ævar Arnfjörð Bjarmason
From: Sahil Dua Add the ability to --copy a branch and its reflog and configuration, this uses the same underlying machinery as the --move (-m) option except the reflog and configuration is copied instead of being moved. This is useful for e.g. copying a topic branch to a new version, e.g. work

[PATCH v2 3/3] branch: add a --copy (-c) option to go with --move (-m)

2017-06-18 Thread Sahil Dua
Add the ability to --copy a branch and its reflog and configuration, this uses the same underlying machinery as the --move (-m) option except the reflog and configuration is copied instead of being moved. This is useful for e.g. copying a topic branch to a new version, e.g. work to work-2 after su