git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitk from subdirectory

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 31, 2007, 05:32 UTC
Message-ID
<7vir6w46bk.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<7vsl6046gn.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 19 quoted lines
> Linus Torvalds <torvalds@linux-foundation.org> writes:
>
>> I realize that the "--" behaviour of git log was intentional, but seeing 
>> what it results in I think the intention was good, but stupid.
>
> I haven't finished analysis yet, but I was reaching the same
> conclusion.
>
> v1.2.0 used to limit "git rev-list" to the current working
> directory, v1.3.0 and newer does not.  But they do when "--" is
> given.  This makes it impossible to do:
>
> 	cd Documentation
> 	echo >master
> 	git rev-list master
>         ... get "ambiguous -- which do you mean?  rev, or
> 	... limited to path?" error message
>         git rev-list master --
>         ... I do mean unlimited and dig from 'master'

FWIW bisect points at your commit ae563542bf10fa8c33abd2a354e4b28aca4264d7 (First cut at libifying revlist generation) ;-).

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 9 in “gitk from subdirectory”
  1. Junio C HamanoAug 31, 2007
  2. Junio C HamanoAug 31, 2007
  3. Linus TorvaldsAug 31, 2007
  4. Junio C HamanoAug 31, 2007
  5. Junio C HamanoAug 31, 2007
  6. Junio C HamanoAug 31, 2007
  7. Junio C HamanoAug 31, 2007
  8. Linus TorvaldsAug 31, 2007
  9. Junio C HamanoAug 31, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.