Re: [PATCH 1/2] Introduce git-run-with-user-path helper program.
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 19, 2005, 20:35 UTC
- Message-ID
- <7v7jhvymwe.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0505181731450.18337@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:
LT> ... I do believe that git-run-with-user-path _could_ be a LT> good way to abstract out the "where the heck in the tree am LT> I?" issues.
Yes, I am still in search of a good way to abstract that issue out and I myself is not yet convinced that the command in its current form _is_ a good enough way yet.
What I am most unhappy about with it lies elsewhere, though. There needs to be a better way to tell it how the underlying command handles non-paths arguments, so that I can just say
git-run-with-user-path <some option spec for the command> \
command arg1 arg2 arg3 ...and if arg1 through argO is non-path options then have it canonicalize and filter only starting from argO+1. That would alleviate one issue I have with the current implementation.