author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 7 Nov 2006 01:03:36 +0000 (20:03 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 7 Nov 2006 08:05:16 +0000 (03:05 -0500) | ||
commit | 6e27d826c807153a4773f197e5056d66a6a809c0 | |
tree | dad25386de972a3542065422d16f53e5dbc5577d | tree | snapshot |
parent | e210e67451f22f97c1476d6b78b6fa7fdd5817f9 | commit | diff |
git-gui: Verify we should actually perform a commit when asked to do so.
A user shouldn't perform a commit if any of the following are true:
* The repository state has changed since the last rescan.
* There are no files updated in the index to commit.
* There are unmerged stages still in the index.
* The commit message has not been provided.
* The pre-commit hook is executable and declined.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
A user shouldn't perform a commit if any of the following are true:
* The repository state has changed since the last rescan.
* There are no files updated in the index to commit.
* There are unmerged stages still in the index.
* The commit message has not been provided.
* The pre-commit hook is executable and declined.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui | diff | blob | history |