From: Simon Ruderich Date: Thu, 1 Aug 2013 20:26:46 +0000 (+0200) Subject: gitconfig: Don't require date -R, use normal date format. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=78cf071c2a8f7ff0b16f3a340e014f7d53eea768 gitconfig: Don't require date -R, use normal date format. --- diff --git a/gitconfig.m4 b/gitconfig.m4 index c7397a0..e4c455d 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -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