From 96a035d1db9082d244867033020d0ceb571cf94e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 20 Oct 2006 16:37:49 -0700 Subject: pager: default to LESS=FRS 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 diff --git a/pager.c b/pager.c index dcb398d..8bd33a1 100644 --- a/pager.c +++ b/pager.c @@ -50,7 +50,7 @@ void setup_pager(void) close(fd[0]); close(fd[1]); - setenv("LESS", "-RS", 0); + setenv("LESS", "FRS", 0); run_pager(pager); die("unable to execute pager '%s'", pager); exit(255); -- cgit v0.10.2-6-g49f6 From 0b92f1a9d213644d2cd6c1870091c090a6b7eca9 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Fri, 20 Oct 2006 23:24:32 +0200 Subject: Fix typo in show-index.c Signed-off-by: Lars Hjemli Signed-off-by: Junio C Hamano diff --git a/show-index.c b/show-index.c index c21d660..a30a2de 100644 --- a/show-index.c +++ b/show-index.c @@ -8,7 +8,7 @@ int main(int argc, char **argv) static unsigned int top_index[256]; if (fread(top_index, sizeof(top_index), 1, stdin) != 1) - die("unable to read idex"); + die("unable to read index"); nr = 0; for (i = 0; i < 256; i++) { unsigned n = ntohl(top_index[i]); -- cgit v0.10.2-6-g49f6