summaryrefslogtreecommitdiff
path: root/t/t2004-checkout-cache-temp.sh
diff options
context:
space:
mode:
authorLibravatar Giuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-01-23 11:03:36 +0100
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2010-01-23 15:14:04 -0800
commit87cd09f43e56de5235d09aef3ff5d840419fef49 (patch)
treec2707c97a5987af4cc8074649d533b8d189e37ce /t/t2004-checkout-cache-temp.sh
parentgit-gui: Fix applying a line when all following lines are deletions (diff)
downloadtgif-87cd09f43e56de5235d09aef3ff5d840419fef49.tar.xz
git-gui: work from the .git dir
When git-gui is run from a .git dir, _gitdir would be set to "." by rev-parse, something that confuses the worktree detection. Fix by expanding the value of _gitdir to pwd in this special case. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 't/t2004-checkout-cache-temp.sh')
0 files changed, 0 insertions, 0 deletions