Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  Fix typo in show-index.c
  pager: default to LESS=FRS
  • Loading branch information
Junio C Hamano committed Oct 20, 2006
2 parents e19343a + 0b92f1a commit 7a6a5e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion show-index.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 7a6a5e4

Please sign in to comment.