Theodore Tso <tytso@xxxxxxx> writes: > On Wed, Jun 25, 2008 at 10:22:08AM -0700, Junio C Hamano wrote: >> Isn't that this? >> >> #!/bin/sh >> exec git checkout HEAD -- "$@" > > Well, I think you really want this to handle filenames with spaces: Sorry, I do not understand that remark. Does "$@" corrupt embedded spaces in its parameters? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html