Skip to content

Conversation

@tommarshall
Copy link
Owner

No description provided.

Because:

* `git diff` supports paging to provide a better experience on long
  diffs. This would also be useful for files encrypted with ansible
  vault.

This change:

* Attempts to identify the default pager setup the same way that git
  itself does, and uses the same default args, ref:
  https://github.com/git/git/blob/v2.9.2/pager.c#L43-L74
* Adds support for git's `--no-pager` argument, but not `-p`/
  `--paginate` as this would colide with `-p`/`--path`. May want to
  revisit this later once #4 is resolved.

Fixes #3
Because:

* `git <command> --help` requires a man page.

This change:

* Adds a man page, generated from markdown with ronn, ref:
  https://github.com/rtomayko/ronn
* Updates the makefile to install and uninstall the man page.

Fixes #1
@tommarshall tommarshall merged commit 87e8fb2 into master Aug 16, 2016
@tommarshall tommarshall deleted the v0.3.0-wip branch August 16, 2016 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants