commit | e34789cc8ba45d5491c007274b41849d3b0b84b7 | [log] [tgz] |
---|---|---|
author | Heiko Voigt <hvoigt@hvoigt.net> | Tue Feb 15 19:43:54 2011 +0000 |
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | Fri May 20 22:49:15 2011 +0100 |
tree | 4b22d78a711f6b43e9ab20253adbe664aba2e4f8 | |
parent | 1cac41f8eaf00e3e8837bf8aab12fc317a5b8a21 [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>