]> git.ipfire.org Git - thirdparty/git.git/commit
Revert "git-gui: remove lines starting with the comment character"
authorPratyush Yadav <me@yadavpratyush.com>
Thu, 4 Mar 2021 08:23:27 +0000 (13:53 +0530)
committerPratyush Yadav <me@yadavpratyush.com>
Thu, 4 Mar 2021 08:23:27 +0000 (13:53 +0530)
commitc0698df0579a14270e491b2f1ffdfc39d3b86310
treee2b2168c6221cb66258582b0b7a3db73aef8fe57
parentb9a43869c9f96d3577d6f568c1bda1940c8f0e31
Revert "git-gui: remove lines starting with the comment character"

This reverts commit b9a43869c9f96d3577d6f568c1bda1940c8f0e31.

This commit causes breakage on macOS (10.13). It causes errors on
startup and completely breaks the commit functionality. There are two
main problems. First, it uses `string cat` which is not supported on
older Tcl versions. Second, it does a half close of the bidirectional
pipe to git-stripspace which is also not supported on older Tcl
versions.

Reported-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
git-gui.sh
lib/commit.tcl