[PATCH 0/4] cleanups surrounding branch
- From
Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
- Date
- Nov 18, 2017, 17:26 UTC
- Message-ID
- <20171118172648.17918-1-kaartic.sivaraam@gmail.com>
- In-Reply-To
- <20171102065407.25404-1-kaartic.sivaraam@gmail.com>
On the process of making 'git' give more useful error messages when trying to rename a branch[0], I found a few things that could be cleaned up. After noticing that the cleanup commits exceeded the commits that are related to the series, I thought it would be better to separate the cleanups into an independent series to keep that topic focused on improving the error messages.
1/4 and 2/4 were part of that series until v3. The others are new cleanups.
This series goes on top of 'master' and can be found in my fork as branch 'work/branch-cleanups'[1].
Note: 1/4 might possibly have some conflicts with jc/branch-name-sanity
Footnotes:
[0]: cf. <20171102065407.25404-1-kaartic.sivaraam@gmail.com>
[1]: https://github.com/sivaraam/git/tree/work/branch-cleanups
Kaartic Sivaraam (4): branch: improve documentation and naming of create_branch() parameters branch: group related arguments of create_branch() branch: update warning message shown when copying a misnamed branch builtin/branch: strip refs/heads/ using skip_prefix
branch.c | 4 ++-- branch.h | 10 ++++++++-- builtin/branch.c | 20 +++++++++++++------- builtin/checkout.c | 2 +- 4 files changed, 24 insertions(+), 12 deletions(-)
-- 2.15.0.291.g0d8980c5d