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

Re: [RFC PATCH] Add support for figuring out where in the git archive we are

From
Junio C Hamano <junkio@cox.net>
Date
Aug 16, 2005, 23:40 UTC
Message-ID
<7vll315u3w.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0508161536390.3553@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> If you use the GIT_DIR environment variable approach, it assumes that all
> filenames you give it are absolute and acts the way it always did before.
> Comments? Like? Dislike?
Comments: Wouldn't that mean git-*-scripts would not benefit from this
          because git-sh-setup would set GIT_DIR for you even if
          you don't?
	  Even if you do not have to do discovery, it may make
	  more sense to do the pathname translation (making them
	  all relative to the project root) for consistency.
	  If you can do "cd drivers && git-diff-files ../net"
	  that would be very useful.  More realistically, people
	  would very much appreciate if stripping the leading ./ in
          "find . -type f -print0 | xargs -0 git-blah-command".
Like:	  Yes, you finally saw the light ;-).
Dislike:  I believe I was one of the original proponent for this
          kind of thing, so no.
Previous: Yasushi SHOJINext: Linus Torvalds
Message 3 of 10 in “Add support for figuring out where in the git archive we are”
  1. Add support for figuring out where in the git archive we areLinus Torvalds, Aug 16, 2005
  2. Yasushi SHOJIAug 16, 2005
  3. Junio C HamanoAug 16, 2005
  4. Linus TorvaldsAug 17, 2005
  5. Junio C HamanoAug 17, 2005
  6. Linus TorvaldsAug 17, 2005
  7. Junio C HamanoAug 17, 2005
  8. Linus TorvaldsAug 17, 2005
  9. Junio C HamanoAug 17, 2005
  10. Daniel BarkalowAug 17, 2005

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.