Re: [PATCH] Expand ~ and ~user in core.excludesfile, commit.template
- From
Jeff King <peff@peff.net>
- Date
- Nov 17, 2009, 08:56 UTC
- Message-ID
- <20091117085603.GB4928@coredump.intra.peff.net>
- In-Reply-To
- <vpqpr7hpm5b.fsf@bauges.imag.fr>
On Tue, Nov 17, 2009 at 09:53:52AM +0100, Matthieu Moy wrote:
Show 6 quoted lines
> Yes. "user" in the sentence is either the user running Git or the same > string as "user" in "~user". I'm not against your proposal, but I'm > afraid we're making the sentence uselessly heavy, since, as you say, > this ~ and ~user convention is widely spread, and I hardly imagine > someone interpreting the sentence as "if you say ~foo, it will expand > to the home directory of bar".
I didn't think it would expand ~foo to the home directory of bar. I thought that it might _only_ accept ~bar, and not ~foo.
If I'm the only one confused, then we can drop it. But if not, I don't think it is much more work to be precise.
-Peff