From: Paul Eggert Date: Sun, 31 Jan 2016 21:43:13 +0000 (-0800) Subject: autogen.sh now arranges for git to check hashes X-Git-Tag: emacs-25.0.91~135 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cedd7cad;p=emacs.git 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". --- diff --git a/autogen.sh b/autogen.sh index a63c53c903c..877bb8476f7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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' \