Code

t7606: Avoid using head as a file name
authorBrian Gernhardt <brian@gernhardtsoftware.com>
Mon, 23 Aug 2010 20:15:47 +0000 (16:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Aug 2010 16:56:34 +0000 (09:56 -0700)
commit0e1b50152bfc12d2d286af17993f6356171e9ce5
tree7a4d834d43479aed6e1857a0164f5cd3230ad216
parent52b48ef1e40fc2b996e3d3f9cad3d096482d8e49
t7606: Avoid using head as a file name

A file named 'head' gets confused with the HEAD ref on
case-insensitive file systems.  Replace '>head' with '>head.new' to
match the '>head.old' files they are compared to.

Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7606-merge-custom.sh