Re: [PATCH] cmd_reset: don't trash uncommitted changes unless told to
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 25, 2008, 20:09 UTC
- Message-ID
- <7vprq5z383.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080625195003.GB15077@mit.edu>
Theodore Tso <tytso@mit.edu> writes:
Show 7 quoted lines
> 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?