X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=0ef9e6af12dcdc7067a3195ef52abd6296a6ba98;hb=91c343f27970bef686b695f386505b8d1d88c098;hp=d59568ff712b6b7db01e0a1df3c4eb037cc5349b;hpb=3d813d58d987714c1be95a7f963df9ba2453bbe7;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index d59568f..0ef9e6a 100755 --- a/setup.sh +++ b/setup.sh @@ -21,8 +21,15 @@ . ../lib.sh if installed git; then + # Older Git versions don't support --patience. + PATIENCE= + if git diff --patience >/dev/null 2>&1; then + PATIENCE=--patience + fi + generate m4 gitconfig \ -DGITIGNORE=`pwd`/gitignore \ + -DPATIENCE="$PATIENCE" \ -DOS=`os` link gitconfig ~/.gitconfig fi