aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-01-31 13:43:13 -0800
committerPaul Eggert2016-01-31 13:43:47 -0800
commitcedd7cad092809a97c1ed7fb883b68fa844cea58 (patch)
tree3486c25fcb2be525a48837ceba7a99d447af3c9a
parent86ce76b8e31a94ab91632daff02e0a84f5e68bcf (diff)
downloademacs-cedd7cad092809a97c1ed7fb883b68fa844cea58.tar.gz
emacs-cedd7cad092809a97c1ed7fb883b68fa844cea58.zip
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".
-rwxr-xr-xautogen.sh5
1 files changed, 5 insertions, 0 deletions
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
220## Configure Git, if using Git. 220## Configure Git, if using Git.
221if test -d .git && (git status -s) >/dev/null 2>&1; then 221if test -d .git && (git status -s) >/dev/null 2>&1; then
222 222
223 # Check hashes when transferring objects among repositories.
224
225 git config transfer.fsckObjects true || exit
226
227
223 # Configure 'git diff' hunk header format. 228 # Configure 'git diff' hunk header format.
224 229
225 git config 'diff.elisp.xfuncname' \ 230 git config 'diff.elisp.xfuncname' \