Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information