aboutsummaryrefslogtreecommitdiff
path: root/rsh.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-10-20 08:21:34 +0100
committerShawn O. Pearce <spearce@spearce.org>2007-10-20 22:29:36 -0400
commit43db492a8eb701dd157f88ae9ca38d366c280761 (patch)
treee04cec37571f3c8a89eb7d71cf3f54cd91f89210 /rsh.c
parentd9a5f25b67951eb68e80d872611542b58ce5aa33 (diff)
downloadgit-43db492a8eb701dd157f88ae9ca38d366c280761.tar.gz
git-43db492a8eb701dd157f88ae9ca38d366c280761.tar.xz
Deduce exec_path also from calls to git with a relative path
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>
Diffstat (limited to 'rsh.c')
0 files changed, 0 insertions, 0 deletions