Re: [RFC/largely untested/PATCH] sha1_name: interpret ~n as HEAD~n
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 30, 2011, 05:33 UTC
- Message-ID
- <7vfwp0uwu4.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <m2k4ecy6rv.fsf@igel.home>
Andreas Schwab <schwab@linux-m68k.org> writes:
Show 6 quoted lines
> Jeff King <peff@peff.net> writes: > >> It also conflicts a little with the shell's "~user" syntax, though >> presumably you don't have users named "1" and "2". > > Well, you sorta do if you did use pushd.
Yeah, I was also worried about that. Or some arcane system misinterpreting "~0" as the home directory of root ;-)