git-rev-parse: flush "default" head when encountering something unexpected
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 20 Jun 2005 23:14:13 +0000 (16:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 20 Jun 2005 23:14:13 +0000 (16:14 -0700)
commit9d73fad4ca15bc0fffe34ee66aea5b9691ab3d2f
tree77e6233101f5f43819b9231cb474a56440d15747
parentc591412cc0aaf10890cdda4cf97a4fbc782d7d49
git-rev-parse: flush "default" head when encountering something unexpected

The unexpected thing is likely a pathname, we need the default for that
too.
rev-parse.c