author | Heiko Voigt <hvoigt@hvoigt.net> | |
Tue, 15 Feb 2011 19:43:54 +0000 (19:43 +0000) | ||
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Fri, 20 May 2011 21:49:15 +0000 (22:49 +0100) | ||
commit | e34789cc8ba45d5491c007274b41849d3b0b84b7 | |
tree | 4b22d78a711f6b43e9ab20253adbe664aba2e4f8 | tree | snapshot |
parent | 1cac41f8eaf00e3e8837bf8aab12fc317a5b8a21 | commit | diff |
git-gui: warn when trying to commit on a detached head
The commandline is already warning when checking out a detached head.
Since the only thing thats potentially dangerous is to create commits
on a detached head lets warn in case the user is about to do that.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
The commandline is already warning when checking out a detached head.
Since the only thing thats potentially dangerous is to create commits
on a detached head lets warn in case the user is about to do that.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui.sh | diff | blob | history | |
lib/commit.tcl | diff | blob | history |