Deduce exec_path also from calls to git with a relative path
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 20 Oct 2007 07:21:34 +0000 (08:21 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Oct 2007 02:29:36 +0000 (22:29 -0400)
There is already logic in the git wrapper to deduce the exec_path from
argv[0], when the git wrapper was called with an absolute path. Extend
that logic to handle relative paths as well.

For example, when you call "../../hello/world/git", it will not turn
"../../hello/world" into an absolute path, and use that.

Initial implementation by Scott R Parish.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
No differences found