diff options
author | Heiko Voigt <hvoigt@hvoigt.net> | 2011-02-15 19:43:54 +0000 |
---|---|---|
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2011-05-20 22:49:15 +0100 |
commit | e34789cc8ba45d5491c007274b41849d3b0b84b7 (patch) | |
tree | 4b22d78a711f6b43e9ab20253adbe664aba2e4f8 /git-gui/lib/commit.tcl | |
parent | 1cac41f8eaf00e3e8837bf8aab12fc317a5b8a21 (diff) | |
download | git-e34789cc8ba45d5491c007274b41849d3b0b84b7.tar.gz |
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>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions