1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

autogen.sh now arranges for git to check hashes

Suggested by Karl Fogel in:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
* autogen.sh: Do "git config transfer.fsckObjects true".
This commit is contained in:
Paul Eggert 2016-01-31 13:43:13 -08:00
parent 86ce76b8e3
commit cedd7cad09

View File

@ -220,6 +220,11 @@ echo timestamp > src/stamp-h.in || exit
## Configure Git, if using Git.
if test -d .git && (git status -s) >/dev/null 2>&1; then
# Check hashes when transferring objects among repositories.
git config transfer.fsckObjects true || exit
# Configure 'git diff' hunk header format.
git config 'diff.elisp.xfuncname' \