diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-14 00:36:41 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-14 00:36:41 +1200 |
commit | 40cf387734ab919ea90a246bb8101aa4b6501bff (patch) | |
tree | ed3042497822c6807d9dc317017615c584d9e27f | |
parent | Use .= for b:undo_ftplugin appending (diff) | |
download | vim-diff-prune-40cf387734ab919ea90a246bb8101aa4b6501bff.tar.gz vim-diff-prune-40cf387734ab919ea90a246bb8101aa4b6501bff.zip |
Mention `git-add --patch` in docs
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | doc/diff_prune.txt | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -10,7 +10,8 @@ If the changes result in a diff block or file block having no changes left, it is also removed. This can be handy for using with the `-e` or `--edit` option to `git-add`, -which allows you to edit a diff before applying changes to the staging area. +which allows you to edit a diff before applying changes to the staging area. It +also seems to work for the `-p` or `--patch` option. License ------- diff --git a/doc/diff_prune.txt b/doc/diff_prune.txt index f708d73..5dbcc7d 100644 --- a/doc/diff_prune.txt +++ b/doc/diff_prune.txt @@ -11,7 +11,8 @@ If the changes result in a diff block or file block having no changes left, it is also removed. This can be handy for using with the `-e` or `--edit` option to `git-add`, -which allows you to edit a diff before applying changes to the staging area. +which allows you to edit a diff before applying changes to the staging area. It +also seems to work for the `-p` or `--patch` option. REQUIREMENTS *diff_prune-requirements* |