Improve git-for-steve.sh script
authorSteve Youngs <steve@sxemacs.org>
Fri, 28 Feb 2020 05:58:24 +0000 (15:58 +1000)
committerSteve Youngs <steve@sxemacs.org>
Fri, 28 Feb 2020 05:58:24 +0000 (15:58 +1000)
commit16294576c497d6a20be9a5ac7b45cedc742fe78a
tree26388b3eb26545b8229678062221d956e9a96e97
parent7e5ce553f29e2aa1e724cabe85fae869793efa7f
Improve git-for-steve.sh script

* .gitattributes: New.

* contrib/git-for-steve.sh (set_diff): Try to get the function
name onto the diff hunk header. Set the git config to do the
magic.
(set_fsck): Set 'transfer.fsckObjects' in the config.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
.gitattributes [new file with mode: 0644]
contrib/git-for-steve.sh