diff options
| author | Jeff King <peff@peff.net> | 2017-03-02 03:21:27 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-03-02 11:05:04 -0800 |
| commit | 311fc74826ac91cd6f6ea932460f88c475bbb310 (patch) | |
| tree | 81a81dde991eafc37350a24589df1d6df9fbcadd /contrib/persistent-https | |
| parent | interpret_branch_name: move docstring to header file (diff) | |
| download | git-311fc74826ac91cd6f6ea932460f88c475bbb310.tar.gz git-311fc74826ac91cd6f6ea932460f88c475bbb310.zip | |
strbuf_branchname: drop return value
The return value from strbuf_branchname() is confusing and
useless: it's 0 if the whole name was consumed by an @-mark,
but otherwise is the length of the original name we fed.
No callers actually look at the return value, so let's just
get rid of it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
