Re: BUG: git-gui no longer executes hook scripts
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 16, 2023, 04:45 UTC
- Message-ID
- <xmqqil8ad8un.fsf@gitster.g>
- In-Reply-To
- <454d8b7b-96df-ec8f-2285-e022de66c66c@gmail.com>
Mark Levedahl <mlevedahl@gmail.com> writes:
> I think a simpler fix is just to examine the number of path components > - more than one means a relative or absolute command (/foo splits into > two parts). The below works for me on Linux.
That is clever, but I cannot convince myself that it is not too clever for its own sake. The "pathtype" thing Dscho used in his original is documented to be aware of things like "C:\path\name", but I didn't re-read the Tcl manual page too carefully to know what "file split" does for such pathname to be certain.