svn path=/trunk/gentoolkit-dev/; revision=617
+2009-05-07: Christian Ruppert <idl0r@gentoo.org>
+ * echangelog: Re-add files (git) if the copyright has been updated, thanks
+ to Justin Lecher (jlec) <jlec@j-schmitz.net>.
+
2009-05-06: Christian Ruppert <idl0r@gentoo.org>
* ekeyword: Improved die message, bug 257853.
* echangelog: Fixed git detection. Add support for project-wide variables
# Move things around and show the diff
system "diff -U 0 $e $e.new";
rename "$e.new", $e or warn("Can't rename $e.new: $!\n");
+
+ # git requires to re-add this file else it wouln't be included in the commit.
+ if ($vcs eq "git")
+ {
+ system("$vcs{$vcs}{add} ${e}");
+ }
}
}