Setting pager.add=true breaks add --patch
- From
- Ravi (Tom) Hale <ravi@hale.ee>
- Date
- Oct 2, 2016, 10:50 UTC
- Message-ID
- <e8bdb434-432b-57c6-5cb4-283aca08ab0b@hale.ee>
Given:
1) git version 2.10.0.GIT
2) The following configuration: ======================= [core] pager = less -FRX --tabs=4
[pager] add = true =======================
3) A patch hunk longer than a screen
THEN:
less will be invoked as expected.
However, upon exiting less, I am dropped back to the shell, whereas I would expect to see: Stage this hunk [y,n,q,a,d,/,j,J,g,e,?]?
-- Tom Hale