From: Thomas Rast Date: Thu, 07 Jun 2012 17:44:36 GMT Subject: Re: [PATCH v7 2/5] blame: introduce $ as "end of file" in -L syntax Message-ID: <87wr3j6mpn.fsf@thomas.inf.ethz.ch> In-Reply-To: <7vwr3jhw8z.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Thomas Rast writes: > >> To save the user a lookup of the last line number, introduce $ as a >> shorthand for the last line. This is mostly useful to spell "until >> the end of the file" as '-L,$'. > > Hmph. This is mostly useful not to error out when user (perhaps > mistakenly) expects that the end of file is spelled as "$"; both > "git blame -L" and "git blame L," have always meant > "til the end", IIRC. Heh. That's actually a very good point; I think neither Bo nor me have thought about allowing git log -L :. -- Thomas Rast trast@{inf,student}.ethz.ch