mirror of
https://github.com/git/git.git
synced 2026-07-04 13:49:06 +00:00
87cd09f43e56de5235d09aef3ff5d840419fef49
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>
Description
Languages
C
50%
Shell
39.3%
Perl
4.3%
Tcl
3.1%
Python
0.8%
Other
2.3%