author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 20 Oct 2007 05:42:01 +0000 (01:42 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 20 Oct 2007 05:42:01 +0000 (01:42 -0400) | ||
commit | 8af52d7a83a78c5f3a60d5bd5099a5073655339a | |
tree | ec1f6468c21b4ddff7a488c4453c82ed0bbdef7b | tree | snapshot |
parent | 96f11953c0b0b9b0a0c75fb98bdf239dce5ff582 | commit | diff |
git-gui: Correctly report failures from git-write-tree
If git-write-tree fails (such as if the index file is currently
locked and it wants to write to it) we were not getting the error
message as $tree_id was always the empty string so we shortcut
through the catch and never got the output from stderr.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
If git-write-tree fails (such as if the index file is currently
locked and it wants to write to it) we were not getting the error
message as $tree_id was always the empty string so we shortcut
through the catch and never got the output from stderr.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/commit.tcl | diff | blob | history |