Opened 10 years ago
Closed 8 years ago
#53 closed defect (fixed)
git 2.0 pager does not work - less claims no file name on command line
Reported by: | Steven Levine | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | dev tools |
Component: | git | Version: | 2.0 |
Severity: | low | Keywords: | less pager |
Cc: |
Description
git log
does not invoke less correctly. Less reports
Missing filename ("less --help" for help)
which implies that git's stdout is not properly connected to less's stdin. Less defaults to reading from stdin if there is no file listed on the less command line and if stdin is not a terminal.
Note that the bauxite v1.7.3.2 port handles the pager properly.
Change History (4)
comment:1 by , 10 years ago
Component: | *none → git |
---|
comment:2 by , 9 years ago
Milestone: | → dev tools |
---|---|
Severity: | → low |
comment:3 by , 9 years ago
comment:4 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It turns out that the problem was GNU less itself. As with our recent RPM version (481-3.oc00) it just works as it should (it even retains colours!). So closing this.
Note:
See TracTickets
for help on using tickets.
I find that piping to less works as a workaround.