From 78cf071c2a8f7ff0b16f3a340e014f7d53eea768 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 1 Aug 2013 22:26:46 +0200 Subject: [PATCH] gitconfig: Don't require date -R, use normal date format. --- gitconfig.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2