Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=51489a4a9e375bd7d5c2f8b49c00dba9c801169c

commit 51489a4a9e375bd7d5c2f8b49c00dba9c801169c
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Jul 28 01:50:08 2008 +0200

use git reset -q instead of git reset >/dev/null

diff --git a/darcs-git.py b/darcs-git.py
index 1173e80..2dd7243 100755
--- a/darcs-git.py
+++ b/darcs-git.py
@@ -369,7 +369,7 @@ Options:
# been updated since add. add it again
os.system("git add %s" % diff2filename(lines[0]))
for i in newlist:
-               os.system("git reset HEAD %s" % i)
+               os.system("git reset -q HEAD %s" % i)
for i in dellist:
sock = os.popen("git apply --cached -R 2>/dev/null", "w")
sock.write(i)
@@ -472,7 +472,7 @@ Options:
new = True
break
if new:
-                       os.system("git reset HEAD %s >/dev/null" % 
diff2filename(lines[0]))
+                       os.system("git reset -q HEAD %s" % 
diff2filename(lines[0]))
revert_stale()
print "Finished reverting."

@@ -831,7 +831,7 @@ def unrecord(argv):
def usage(ret):
print """Usage: darcs-git unrecord [OPTION]...
Remove last committed patch without changing the working directory.
-This is an alias for "git reset HEAD^".
+This is an alias for "git reset -q HEAD^".

Options:
-h         --help                shows brief description of command and its 
arguments"""
@@ -846,7 +846,7 @@ Options:
if ret in ("n", "q"):
sys.exit(0)
print "Invalid response, try again!"
-       os.system("git reset HEAD^ %s >/dev/null" % " ".join(argv))
+       os.system("git reset -q HEAD^ %s >/dev/null" % " ".join(argv))
print "Finished unrecording."

def unpull(argv):
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to