git-gui: When calling post-commit hook wrong variable was cleared.
commitf0d4eec99f2367bad77ec46680d7b07d4472d230
authorJens Lehmann <Jens.Lehmann@web.de>
Mon, 30 Mar 2009 18:35:57 +0000 (30 20:35 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 5 Apr 2009 19:45:40 +0000 (5 12:45 -0700)
tree80173a322b0c2b0869c099b79e3b3bf5e8cee277
parent3eb5682b0b1c16c1b9232f04aff13bd189573b4d
git-gui: When calling post-commit hook wrong variable was cleared.

Before calling the post-commit hook, the variable "pc_err" is cleared
while later only "pch_error" is used. "pch_error$cmt_id" only appeared in
"upvar"-Statements (which were changed to "global") and was removed.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/commit.tcl