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

commit 0a82d4997d1ada090d8f3a5fec537bc818810bdc
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Mon Sep 10 13:42:01 2007 +0200

use pager for dg chan -t, too

diff --git a/darcs-git.py b/darcs-git.py
index 779da32..60277bb 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]))
+               options.last, options.logopts, options.files, options.tags, 
options.abbrev, "|less"]))

def push(argv):
def usage(ret):
@@ -812,8 +812,6 @@ 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