[Frugalware-darcs] vmexam: dg: use git commit -a for dg rec -a

VMiklos vmiklos at frugalware.org
Thu Jun 14 01:17:18 CEST 2007

Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=vmexam;a=darcs_commitdiff;h=20070613231058-e2957-c855ec8a1a1b00d8cd1223330120d5bff1ca2eea.gz;

[dg: use git commit -a for dg rec -a
VMiklos <vmiklos at frugalware.org>**20070613231058
 it's faster and it will always work (in case there would be some problem with
 dg rec)
] {
hunk ./python/dg.py 203
-	status.hunks = askhunks(status.hunks, options.all)
+	if not options.all:
+		status.hunks = askhunks(status.hunks)
hunk ./python/dg.py 224
+	if options.all:
+		os.system("git commit -a -m '%s' %s" % (msg, opts))
+		sys.exit(0)

More information about the Frugalware-darcs mailing list