Re: [PATCH 5/9] update-index: add --checkout/--no-checkout to update CE_NO_CHECKOUT bit
- From
Jeff King <peff@peff.net>
- Date
- Nov 19, 2008, 13:02 UTC
- Message-ID
- <20081119130223.GA27893@segfault.peff.net>
- In-Reply-To
- <7v4p24tq59.fsf@gitster.siamese.dyndns.org>
On Tue, Nov 18, 2008 at 06:18:10PM -0800, Junio C Hamano wrote:
> Having said all that, I wouldn't suggest redoing the patch using >> > redirection. But change from "touch 1 nondigit" to "touch nondigit 1" > is a bit too subtle to my taste. Let's write it this way instead:
Yes, I also dislike the subtlety, but my "obvious" idea was something like:
for i in 1 2 sub/1 sub/2; do
touch $i
donewhich just seemed clunky. But:
> - touch 1 2 sub/1 sub/2 && > + touch ./1 ./2 sub/1 sub/2 &&
this is less clunky, and I have confirmed that it solves the problem. I just wasn't clever enough to think of it in the first place. ;)
-Peff