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

commit cb72223e7cc089f7243ed580516f2c9c89894ee5
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Mon Sep 10 21:06:05 2007 +0200

revert "use pager for dg chan -t, too"
this reverts commit 0a82d4997d1ada090d8f3a5fec537bc818810bdc. it breaks
unpull()

diff --git a/darcs-git.py b/darcs-git.py
index 4c7efae..d4587d2 100755
--- a/darcs-git.py
+++ b/darcs-git.py
@@ -504,7 +504,7 @@ Options:
if options.help:
usage(0)
return os.system(" ".join(['git log -M',
-               options.last, options.logopts, options.files, options.tags, 
options.abbrev, "|less"]))
+               options.last, options.logopts, options.files, options.tags, 
options.abbrev]))

def push(argv):
def usage(ret):
@@ -812,6 +812,8 @@ PURPOSE.""" % __version__
# this will exit if no root found
if sys.argv[1] not in ["init", "get"]:
get_root()
+               if sys.argv[1][:4] != "chan":
+                       os.environ['GIT_PAGER'] = 'cat'
if sys.argv[1][:3] == "rec":
record(argv[1:])
elif sys.argv[1][:3] == "rev":
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to