git checkout: fix default head case
commitdc14841102bb364c2be200e8456146fc8df970b9
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 21 Jun 2005 18:14:47 +0000 (21 11:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 21 Jun 2005 18:14:47 +0000 (21 11:14 -0700)
tree184eafb56d4b768a81db12890005fbf7e6a4a874
parente8b11749f031428f743c1e01a6934f6ff34cec16
git checkout: fix default head case

The "${new=$old}" syntax only works for an undefined 'new', not for an
empty one. I knew that. Really. I'm not stupid.
git-checkout-script