Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:04

Linus Torvalds [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help