Re: [PATCH v4 0/2] git-gui: revert untracked files by deleting them
From: Jonathan Gilbert <hidden>
Date: 2019-11-19 16:56:59
From: Jonathan Gilbert <hidden>
Date: 2019-11-19 16:56:59
On Tue, Nov 19, 2019 at 9:22 AM Pratyush Yadav me-at-yadavpratyush.com |GitHub Public/Example Allow| [off-list ref] wrote:
On 17/11/19 06:56AM, Jonathan Gilbert via GitGitGadget wrote:quoted
* The initialization code in git-gui.sh (which I'm assuming translates somehow to git-gui.tcl in the installation?)Well, the design is a bit strange. git-gui.sh happens to be _both_ a shell script and a Tcl script.
Ah, I see -- I had managed to convince myself that they were different files, but never actually diffed them. In my installation, I have a file "C:\Program Files\Git\mingw64\libexec\git-core\git-gui.tcl" and that _is_ the same file as git-gui.sh in the repository. So maybe it's Windows-specific, maybe not, I'm not sure, but at some point it gets renamed from git-gui.sh to git-gui.tcl. I incorrectly assumed that the .tcl file didn't have all the facets of the .sh file. :-P Thanks, Jonathan Gilbert