c   = commit --verbose
        ca  = commit --verbose --amend
        cad = commit --verbose --amend --date=
-       d   = diff PATIENCE
-       dw  = diff PATIENCE --color-words
-       dc  = diff PATIENCE --cached
-       dcw = diff PATIENCE --cached --color-words
+       d   = diff --patience
+       dw  = diff --patience --color-words
+       dc  = diff --patience --cached
+       dcw = diff --patience --cached --color-words
        ds  = diff --stat
        s   = status
        l   = log
        ls  = log --stat
-       lp  = log --patch PATIENCE
-       lpw = log --patch PATIENCE --color-words
+       lp  = log --patch --patience
+       lpw = log --patch --patience --color-words
        a   = add
        ap  = add --patch
        au  = add --update
 
 
 
 if installed git; then
+    generate gitconfig .in simple_cpp \
+        PWD -- "`pwd`"
+
     # Older Git versions don't support --patience.
-    PATIENCE=
-    if git diff --patience >/dev/null 2>&1; then
-        PATIENCE=--patience
+    if ! git diff --patience >/dev/null 2>&1; then
+        sed_i 's/--patience//' gitconfig
     fi
 
-    generate gitconfig .in simple_cpp \
-        PATIENCE PWD -- "$PATIENCE" "`pwd`"
     link gitconfig ~/.gitconfig
 fi