[SCM] Vim packaging branch, debian, updated. upstream/7.2.025-322-gf1680eb

James Vega jamessan at debian.org
Wed Jan 7 16:21:56 UTC 2009

The following commit has been merged in the debian branch:
commit fe1a8f1e35067a944dc4b8c5c4fcf428cc75aaad
Author: James Vega <jamessan at debian.org>
Date:   Wed Jan 7 11:09:36 2009 -0500

    Set GIT_AUTHOR_DATE when committing upstream patches
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/debian/update-patches b/debian/update-patches
index 02e7ac8..74ef8e5 100755
--- a/debian/update-patches
+++ b/debian/update-patches
@@ -77,10 +77,11 @@ for p in $(seq -f $version.%03g $curpatch $newpatch); do
     patch -Np0 < $p
     git add $(lsdiff $p)
     author="$(sed -n -e 's/^From: *//;t done;d;: done;p' $p)"
+    date="$(awk '/^--- src\/version.c/ {print}' $p | cut -f 2-)"
     subject="s/^ *[0-9]* *$p *//;t done;d;: done;p"
     msg='/^Patch /,/^Files:/{s/^Files:.*//;t;p}'
     (echo -n "[$p] "; git show debian:debian/README -- | sed -n "$subject"; \
-     echo; sed -n "$msg" $p) | git commit --author "$author" -F -
+     echo; sed -n "$msg" $p) | env GIT_AUTHOR_DATE="$date" git commit --author "$author" -F -
     rm $p

Vim packaging

More information about the pkg-vim-maintainers mailing list