chiark / gitweb /
hooks/pre-commit: check .top* files in the to-be-commited tree
authorBert Wesarg <bert.wesarg@googlemail.com>
Mon, 4 Oct 2010 18:54:57 +0000 (20:54 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 5 Oct 2010 06:58:29 +0000 (08:58 +0200)
commit1fb84a0250902fdf93bb0de335625975bd69734b
treec2c0b42192380769cffad2898d3d1cf27ce89d3f
parent294846dad135e8258f037b6695fb9c0cacc77e8e
hooks/pre-commit: check .top* files in the to-be-commited tree

We currently check fo these files only in the working tree. But we should check
what would be commited. We use write-tree to be able to utilize ls-tree and
check the result.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
hooks/pre-commit.sh