]> git.ipfire.org Git - thirdparty/git.git/commit
t1404: demonstrate a bug resolving references
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 5 May 2016 11:22:23 +0000 (13:22 +0200)
committerMichael Haggerty <mhagger@alum.mit.edu>
Thu, 5 May 2016 14:30:56 +0000 (16:30 +0200)
commit19dd7d06e5d2c58895dd101025c013404025e192
tree0b16c8b8b3b8be7331958b4378cdfd4a2f63659f
parent3ad15fd5e17bbb73fb1161ff4e9c3ed254d5b243
t1404: demonstrate a bug resolving references

Add some tests checking that it is possible to work with a reference
even if there is an empty directory where the loose ref would be stored.

One of the new tests demonstrates a bug that has been with us since at
least 2.5.0--single reference lookup gives up when it sees the
directory, even if the reference exists as a packed ref. This probably
hasn't been reported before because Git usually cleans up empty
directories when packing references.

This bug will be fixed shortly.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
t/t1404-update-ref-df-conflicts.sh