mirror of
https://github.com/git-for-windows/git.git
synced 2026-07-02 20:29:15 -05:00
881d8f24cab5bf4e0fa71b17a3ab82e27b2e8ed7
If the user tried to detach their HEAD while keeping the working directory on the same commit we actually did not completely do a detach operation internally. The problem was caused by git-gui not forcing the HEAD symbolic ref to be updated to a SHA-1 hash when we were not switching revisions. Now we update the HEAD ref if we aren't currently detached or the hashes don't match. 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.2%