author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 12 Nov 2006 23:03:19 +0000 (18:03 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 13 Nov 2006 05:10:38 +0000 (00:10 -0500) | ||
commit | 333b0c74b33fe54f0489813950345edbeb62c0b5 | |
tree | 09f3240a761796581ebe57baeab8517312bc47af | tree | snapshot |
parent | 4658b56fce4e8b7c4489ae7b0fe9ecf1e236b70b | commit | diff |
git-gui: Remove the commit_active global variable.
We were originally trying to use $commit_active to tell us if there was
a commit currently in progress, just so we didn't attempt to start a
second (parallel) one by mistake. But really the index lock handles
this for us as it won't let us lock the index if it is already locked
for update. So this can't happen.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
We were originally trying to use $commit_active to tell us if there was
a commit currently in progress, just so we didn't attempt to start a
second (parallel) one by mistake. But really the index lock handles
this for us as it won't let us lock the index if it is already locked
for update. So this can't happen.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui | diff | blob | history |