summaryrefslogtreecommitdiff
path: root/t/t3200-branch.sh
diff options
context:
space:
mode:
authorLibravatar Marc Branchaud <marcnarc@xiplink.com>2012-04-16 18:08:50 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-17 08:26:00 -0700
commit0997adaa74dfe07cee3180c3a6fd91949fb4e3d8 (patch)
tree2d724488af8e8a617d83c44022595303f378c455 /t/t3200-branch.sh
parentfetch: Give remote_ref to update_local_ref() as well (diff)
downloadtgif-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/t3200-branch.sh')
0 files changed, 0 insertions, 0 deletions