mirror of
https://github.com/git-for-windows/git.git
synced 2026-06-18 10:23:06 -05: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
Releases
335
Languages
C
50.2%
Shell
39.2%
Perl
4.3%
Tcl
3%
Python
0.8%
Other
2.3%