patchreview.vim : Plugin for single or multipatch code reviews and workspace change/diff reviews
| script karma |
Rating 28/9,
Downloaded by 1211
|
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Manpreet Singh |
| |
| script type |
| utility |
| |
| description |
The Patch Review plugin allows easy single or multipatch code or diff reviews.
It opens each affected (modified/added/deleted) file in the patch or in a version controlled workspace diff in a diff view in a separate tab.
VIM provides the :diffpatch command to do single file reviews but can not handle patch files containing multiple patches as is common with software development projects. This plugin provides that missing functionality.
It also does not pollute the workspace like :diffpatch does by writing files in the workspace.
It does automatic diff generation for various version control systems by running their respective diff commands.
(Keywords: codereview, codereviews, code review, patch, patchutils, diff, diffpatch, patchreview, patchreviews, patch review, vcs, scm, mercurial, bazaar, hg, bzr, cvs, monotone, mtn, git, perforce) |
| |
| install details |
QUICK INSTALL
1. Unzip the files in your ~/.vim directory.
2. Open Vim and do::
:helptags ~/.vim/doc
REQUIREMENTS
1) Vim 7.2 or higher built with +diff option.
2) A gnu compatible patch command installed. This is the standard patch command on any Linux, Mac OS X, \*BSD, Cygwin or /usr/bin/gpatch on newer Solaris/OpenSolairs.
For Windows, UnxUtils ( http://unxutils.sourceforge.net/ ) provides a compatible patch implementation. However, you might need to set::
let g:patchreview_patch_needs_crlf = 1
in your .vimrc file.
USAGE
Reviewing current changes in your workspace::
:DiffReview
Reviewing staged git changes::
:DiffReview git staged --no-color -U5
Reviewing a patch::
:PatchReview some.patch
Reviewing a previously applied patch (AKA reverse patch review)::
:ReversePatchReview some.patch
See::
:h patchreview
for usage details.
Fork me at http://github.com/junkblocker/patchreview-vim |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 54.234.180.187
|