<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/pager.c, branch v1.4.4.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.4.4.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.4.4.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2006-10-23T03:28:10Z</updated>
<entry>
<title>pager: default to LESS=FRSX not LESS=FRS</title>
<updated>2006-10-23T03:28:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-10-23T03:28:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0abc0260fa3419de649fcc1444e3d256a17ca6c7'/>
<id>urn:sha1:0abc0260fa3419de649fcc1444e3d256a17ca6c7</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>pager: default to LESS=FRS</title>
<updated>2006-10-20T23:37:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-10-20T23:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=96a035d1db9082d244867033020d0ceb571cf94e'/>
<id>urn:sha1:96a035d1db9082d244867033020d0ceb571cf94e</id>
<content type='text'>
Recent change to paginate "git diff" by default is often irritating
when you do not have any change (or very small change) in your working
tree.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>pager: environment variable GIT_PAGER to override PAGER</title>
<updated>2006-07-31T22:51:25Z</updated>
<author>
<name>Matthias Lederhofer</name>
<email>matled@gmx.net</email>
</author>
<published>2006-07-31T13:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c27d205aaefb654c12a4ab9e0b4fae1882c0fc70'/>
<id>urn:sha1:c27d205aaefb654c12a4ab9e0b4fae1882c0fc70</id>
<content type='text'>
Signed-off-by: Matthias Lederhofer &lt;matled@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix linking for not-so-clever linkers.</title>
<updated>2006-07-10T21:48:56Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-07-10T11:40:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b75a82b75402c9462cfd2e9891d2fbe7ce6239f4'/>
<id>urn:sha1:b75a82b75402c9462cfd2e9891d2fbe7ce6239f4</id>
<content type='text'>
On one of my systems, the linker is not intelligent enough to link with
pager.o (in libgit.a) when only the variable pager_in_use is needed. The
consequence is that the linker complains about an undefined variable. So,
put the variable into environment.o, where it is linked always.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>"git -p cmd" to page anywhere</title>
<updated>2006-07-09T10:27:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-06-06T23:58:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=85fb65ed6e41e93760a91b33b512d3d9dc67ac66'/>
<id>urn:sha1:85fb65ed6e41e93760a91b33b512d3d9dc67ac66</id>
<content type='text'>
This allows you to say:

	git -p diff v2.6.16-rc5..

and the command pipes the output of any git command to your pager.

[jc: this resurrects a month old RFC patch with improvement
 suggested by Linus to call it --paginate instead of --less.]

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff options: add --color</title>
<updated>2006-06-18T00:08:16Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-06-13T16:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=cd112cef999c59a7ca2a96c37b197d303a355924'/>
<id>urn:sha1:cd112cef999c59a7ca2a96c37b197d303a355924</id>
<content type='text'>
This patch is a slightly adjusted version of Junio's patch:
http://www.gelato.unsw.edu.au/archives/git/0604/19354.html

However, instead of using a config variable, this patch makes it available
as a diff option.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fix'</title>
<updated>2006-04-21T20:14:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-04-21T20:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=285755127a1ce800ce6a95516a37dd342c57c562'/>
<id>urn:sha1:285755127a1ce800ce6a95516a37dd342c57c562</id>
<content type='text'>
* fix:
  git-log produces no output
</content>
</entry>
<entry>
<title>git-log produces no output</title>
<updated>2006-04-21T20:00:10Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-04-21T19:25:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=34fd1c9ac5845d541e3196983df7f993e751b544'/>
<id>urn:sha1:34fd1c9ac5845d541e3196983df7f993e751b544</id>
<content type='text'>
When $PAGER is set to 'less -i', we used to fail because we
assumed the $PAGER is a command and simply exec'ed it.

Try exec first, and then run it through shell if it fails.  This
allows even funkier PAGERs like these ;-):

	PAGER='sed -e "s/^/`date`: /" | more'
	PAGER='contrib/colordiff.perl | less -RS'

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not fork PAGER=cat</title>
<updated>2006-04-16T08:46:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-04-16T08:46:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=caef71a5354ca162cc5a6914a7a643efbc9ae28a'/>
<id>urn:sha1:caef71a5354ca162cc5a6914a7a643efbc9ae28a</id>
<content type='text'>
Unless the user has a nonstandard "cat" command that does not
meow like a cat, this should not break anything and would save an
extra pipe.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>pager: do not fork a pager if PAGER is set to empty.</title>
<updated>2006-04-16T08:40:04Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-04-16T02:44:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=402461aab17292b78bd36a17bff18e48d544cc9a'/>
<id>urn:sha1:402461aab17292b78bd36a17bff18e48d544cc9a</id>
<content type='text'>
This skips an extra pipe, and helps debugging tremendously.

[jc: PAGER=cat is a questionable hack and should be done as a separate
patch. ]

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
