]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
gitconfig: Don't require date -R, use normal date format.
authorSimon Ruderich <simon@ruderich.org>
Thu, 1 Aug 2013 20:26:46 +0000 (22:26 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 1 Aug 2013 20:26:46 +0000 (22:26 +0200)
gitconfig.m4

index c7397a0557285431f8df9845165a3a110c3d3842..e4c455df439b371d2a2b8a6aeb846ef4bd9ed0ea 100644 (file)
@@ -124,7 +124,8 @@ include(../lib.m4)
 
        # Create backup of uncommitted and untracked changes.
        ssb = "! git stash save --include-untracked \
-                               \"Backup on $(date -R)\" >/dev/null \
+                    \"Backup on $(LANG=C date '+%a, %d %b %Y %H:%M:%S %z')\" \
+                    >/dev/null \
              && git stash apply >/dev/null"
 
        # Display list and content of untracked files. Untracked directories