bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29197: 27.0.50; pre-commit checks for new files against "head"


From: Noam Postavsky
Subject: bug#29197: 27.0.50; pre-commit checks for new files against "head"
Date: Tue, 28 Aug 2018 08:21:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

tags 29197 fixed
close 29197
quit

Noam Postavsky <npostavs@gmail.com> writes:

> This seems fairly difficult to do while keeping in standard bourne shell
> syntax.  Not sure how to catch file names with whitespace.

Acually, it turns out that 'git diff' does escaping, so it's pretty
easy.

Done in emacs-26.

[1: fca935e4ab]: 2018-08-28 08:04:17 -0400
  ; Let pre-commit git hook check merged in changes (Bug#29197)
  
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=fca935e4abe817130abb2676ec2f37b73e4f45f4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]