emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 cedd7ca: autogen.sh now arranges for git to check


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 cedd7ca: autogen.sh now arranges for git to check hashes
Date: Sun, 31 Jan 2016 21:43:58 +0000

branch: emacs-25
commit cedd7cad092809a97c1ed7fb883b68fa844cea58
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    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".
---
 autogen.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index a63c53c..877bb84 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' \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]