Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-06-15 21:42:16 +0200
committerMichal Marek <mmarek@suse.cz>2011-06-16 13:01:21 +0200
commit9fd62c4862fa8d061e4cc60165b738b69e7ad780 (patch)
tree6200d465635331c79ca00a0e16c05eef24258b5d
parentbd3ab7e5f135b9d60e375fc1704340f01bc85f59 (diff)
scripts/series2git: Really hide errors when converting Date headers
-rwxr-xr-xscripts/series2git4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/series2git b/scripts/series2git
index 1fcab08774..3023e01e24 100755
--- a/scripts/series2git
+++ b/scripts/series2git
@@ -190,9 +190,9 @@ apply_patch()
;;
esac
local subject=$(ex_hdr Subject "$patch")
- GIT_AUTHOR_DATE=$(ex_hdr Date "$patch" 2>/dev/null)
+ GIT_AUTHOR_DATE=$(ex_hdr Date "$patch")
if test -n "$GIT_AUTHOR_DATE"; then
- GIT_AUTHOR_DATE=$(date -R -d"$GIT_AUTHOR_DATE")
+ GIT_AUTHOR_DATE=$(date -R -d"$GIT_AUTHOR_DATE" 2>/dev/null)
fi
export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE
(