summaryrefslogtreecommitdiff
path: root/builtin-for-each-ref.c
diff options
context:
space:
mode:
authorLibravatar Clemens Buchacher <drizzd@aon.at>2009-06-17 15:38:36 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-06-18 09:55:34 -0700
commit3eb9699733355d27fd5442492d66ec3c759e0c8b (patch)
tree78046a0b4106182974d86ea25110009c4e231645 /builtin-for-each-ref.c
parentMerge branch 'maint-1.6.2' into maint (diff)
downloadtgif-3eb9699733355d27fd5442492d66ec3c759e0c8b.tar.xz
fetch: do not create ref from empty name
Previously, the refspec "<src>:" would be expanded to "<src>:refs/heads/". Instead, treat an empty <dst> just like refspecs without a colon. Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-for-each-ref.c')
0 files changed, 0 insertions, 0 deletions