diff options
author | Marc Branchaud <marcnarc@xiplink.com> | 2012-04-16 18:08:50 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-17 08:26:00 -0700 |
commit | 0997adaa74dfe07cee3180c3a6fd91949fb4e3d8 (patch) | |
tree | 2d724488af8e8a617d83c44022595303f378c455 /t/lib-git-svn.sh | |
parent | fetch: Give remote_ref to update_local_ref() as well (diff) | |
download | tgif-0997adaa74dfe07cee3180c3a6fd91949fb4e3d8.tar.xz |
fetch: describe new refs based on where it came from
update_local_ref() used to say "[new branch]" when we stored a new ref
outside refs/tags/ hierarchy, but the message is more about what we
fetched, so use the refname at the origin to make that decision.
Also, only call a new ref a "branch" if it's under refs/heads/.
Signed-off-by: Marc Branchaud <marcnarc@xiplink.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-git-svn.sh')
0 files changed, 0 insertions, 0 deletions