Skip to content

git --paginate: do not commit pager choice too early

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20100626192203.GA19973@burratino

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4t7006 (pager): introduce helper for parameterized testst/t7006-pager.sh+54 -180 replies
2/4t7006: test pager configuration for several git commandst/t7006-pager.sh+89 -571 reply
3/4tests: local config file should be honored from subdirs of toplevelt/t7006-pager.sh+26 -00 replies
4/4git --paginate: do not commit pager choice too earlygit.c t/t7006-pager.sh+47 -130 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchJohannes Sixt
1/4
2/4Improved-by
3/4Improved-by
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] git --paginate: do not commit pager choice too early

Here’s a fix from the famous setup cleanup series[1].

The problem it fixes is somewhat obscure: ‘git -p foo’ is not paying attention to the repository-local ‘[core] pager’ configuration when run from a subdirectory. But it is a real bug, and the fix gives an example of how to deal with repository setup and should be safe.

Patch is against master. There is a small semantic conflict with jn/grep-open: SIMPLEPAGER should be changed to SIMPLEPAGERTTY in the prerequisites for the test_default_pager function. Please let me know if I should push a merge commit to help resolve that.

Thoughts?
Jonathan Nieder (3):
t7006 (pager): introduce helper for parameterized tests
t7006: test pager configuration for several git commands
tests: local config file should be honored from subdirs of toplevel

Nguyễn Thái Ngọc Duy (1):
git --paginate: do not commit pager choice too early

 git.c            |    2 +-
 t/t7006-pager.sh |  234 +++++++++++++++++++++++++++++++++++++++++------------
 2 files changed, 182 insertions(+), 54 deletions(-)

[1] http://thread.gmane.org/gmane.comp.version-control.git/144778