author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 19 Nov 2006 02:07:05 +0000 (21:07 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 19 Nov 2006 03:46:07 +0000 (22:46 -0500) | ||
commit | d63efae2816a277e40a379eb5c5f23f2a656fddc | |
tree | 80e32b7481a9d5f12af9312c769d1e656c35054c | tree | snapshot |
parent | 24ac9b752d6df7ab309826d487fbeaae53806025 | commit | diff |
git-gui: Verify the user has GIT_COMMITTER_IDENT before comitting.
Since git-commit also checks that the user has a GIT_COMMITTER_IDENT
value before it lets the user make a commit we should do the same check
here in git-gui. We cache the result and assume that the user won't
do something which would change the status of GIT_COMMITTER_IDENT while
we are running.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Since git-commit also checks that the user has a GIT_COMMITTER_IDENT
value before it lets the user make a commit we should do the same check
here in git-gui. We cache the result and assume that the user won't
do something which would change the status of GIT_COMMITTER_IDENT while
we are running.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui | diff | blob | history |