Add a helper function to compare file contents
commit584de0b4c235209fa60ca4a733678472263bdce0
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 30 Mar 2024 14:59:20 +0000 (30 15:59 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 19 Apr 2024 10:38:19 +0000 (19 12:38 +0200)
tree955e0a4ae6c4739d931ed28814252709513d08d1
parentdf93e407f0618e4a8265ac619dc7f4c7005155bc
Add a helper function to compare file contents

In the next commit, Git will learn to disallow hooks during `git clone`
operations _except_ when those hooks come from the templates (which are
inherently supposed to be trusted). To that end, we add a function to
compare the contents of two files.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
cache.h
copy.c
t/helper/test-path-utils.c
t/t0060-path-utils.sh