[Frugalware-darcs] vmexam: dg: cleanup: use git reset --hard for unpull

VMiklos vmiklos at frugalware.org
Thu Jun 14 19:58:07 CEST 2007


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

[dg: cleanup: use git reset --hard for unpull
VMiklos <vmiklos at frugalware.org>**20070614115926] {
hunk ./python/dg.py 467
-This is an alias for "git reset --soft HEAD^; git checkout -f".
+This is an alias for "git reset --hard HEAD^".
hunk ./python/dg.py 481
-	os.system("git reset --soft HEAD^ %s" % " ".join(argv))
-	os.system("git checkout -f %s" % " ".join(argv))
+	os.system("git reset --hard HEAD^ %s" % " ".join(argv))
}


More information about the Frugalware-darcs mailing list