[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debian JP master SVN www commits (rev.950)
=======================================================
Repository: /org/svn.debian.or.jp/repos
Revision: 950
Commiter: kmuto
Date: 2009-10-24 13:42:53 +0900 (土, 24 10月 2009)
=======================================================
Log:
use git option version instead of using hyphen commands
=======================================================
Changed:
U webwml-sync/trunk/webwml-patch-commit
Modified: webwml-sync/trunk/webwml-patch-commit
===================================================================
--- webwml-sync/trunk/webwml-patch-commit 2009-10-16 07:27:03 UTC (rev 949)
+++ webwml-sync/trunk/webwml-patch-commit 2009-10-24 04:42:53 UTC (rev 950)
@@ -57,8 +57,8 @@
if [ "$yn" = "y" ]; then # apply
patch -p1 -f < ${patchesdir}/$pf
- addfiles=$( cd $gitdir && git-whatchanged -1 --pretty=format:"" $sha1 | grep "$targetlang/" | awk '{if ($5 == "A") print $6}' | xargs )
- rmfiles=$( cd $gitdir && git-whatchanged -1 --pretty=format:"" $sha1 | grep "$targetlang/" | awk '{if ($5 == "D") print $6}' | xargs )
+ addfiles=$( cd $gitdir && git whatchanged -1 --pretty=format:"" $sha1 | grep "$targetlang/" | awk '{if ($5 == "A") print $6}' | xargs )
+ rmfiles=$( cd $gitdir && git whatchanged -1 --pretty=format:"" $sha1 | grep "$targetlang/" | awk '{if ($5 == "D") print $6}' | xargs )
if [ "$addfiles" ]; then
eval cvs add $addfiles