[Frugalware-darcs] pacman-tools: genchangelog: git support

VMiklos vmiklos at frugalware.org
Sat Jun 30 18:39:50 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-tools;a=darcs_commitdiff;h=20070630001513-e2957-3f01f7abf5871499760b347fadc142b4106bd6c4.gz;

[genchangelog: git support
VMiklos <vmiklos at frugalware.org>**20070630001513] {
hunk ./genchangelog 29
-	echo -n "running darcs changes... "
-	darcs changes FrugalBuild > Changelog
+	if [ "$_F_makepkg_scm" = "git" ]; then
+		echo -n "running git log... "
+		git log -M FrugalBuild > Changelog
+	else
+		echo -n "running darcs changes... "
+		darcs changes FrugalBuild > Changelog
+	fi
}


More information about the Frugalware-darcs mailing list