diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2015-07-17 19:00:00 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-20 11:29:24 -0700 |
commit | 4341460d92c2857193954158f35aaf7518aa7a58 (patch) | |
tree | 6487a7e9e03b3cbf0dceb81fb466e466ac83ad34 /git-cvsimport.perl | |
parent | checkout: die_if_checked_out: simplify strbuf management (diff) | |
download | tgif-4341460d92c2857193954158f35aaf7518aa7a58.tar.xz |
checkout: generalize die_if_checked_out() branch name argument
The plan is to publish die_if_checked_out() so that callers other than
git-checkout can take advantage of it, however, those callers won't have
access to git-checkout's "struct branch_info". Therefore, change it to
accept the full name of the branch as a simple string instead.
While here, also give the argument a more meaningful name ("branch"
instead of "new").
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsimport.perl')
0 files changed, 0 insertions, 0 deletions