You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be better to have parity with git-diff's revision and path arguments, so that you could jump straight from diff to diff-ansible-vault without having to add extra flags.
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 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 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
Currently
git-diff-ansible-vault
requires the revision and path to be explicitly specified with arguments, e.g.It would be better to have parity with
git-diff
's revision and path arguments, so that you could jump straight fromdiff
todiff-ansible-vault
without having to add extra flags.From
git-diff
's man page:The text was updated successfully, but these errors were encountered: