{"id":13898953,"url":"https://github.com/junkblocker/patchreview-vim","last_synced_at":"2025-04-10T16:31:01.942Z","repository":{"id":858534,"uuid":"592688","full_name":"junkblocker/patchreview-vim","owner":"junkblocker","description":"Vim/Neovim plugin for doing single, multi-patch or diff code reviews","archived":false,"fork":false,"pushed_at":"2024-02-27T15:13:59.000Z","size":155,"stargazers_count":109,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T00:42:22.091Z","etag":null,"topics":["codereview","diff","interface","neovim","patch","tab","vim","viml"],"latest_commit_sha":null,"homepage":"http://www.vim.org/scripts/script.php?script_id=1563","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junkblocker.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2010-04-03T03:23:18.000Z","updated_at":"2025-01-24T01:03:58.000Z","dependencies_parsed_at":"2024-02-13T04:29:38.716Z","dependency_job_id":"2301ed3a-8da7-4367-bde1-b3e44fa2ba18","html_url":"https://github.com/junkblocker/patchreview-vim","commit_stats":{"total_commits":84,"total_committers":5,"mean_commits":16.8,"dds":0.0714285714285714,"last_synced_commit":"59d40925f0966e4fe858345491e5c99129e4e7e6"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junkblocker%2Fpatchreview-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junkblocker%2Fpatchreview-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junkblocker%2Fpatchreview-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junkblocker%2Fpatchreview-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junkblocker","download_url":"https://codeload.github.com/junkblocker/patchreview-vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252690,"owners_count":21072700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codereview","diff","interface","neovim","patch","tab","vim","viml"],"created_at":"2024-08-06T18:04:33.139Z","updated_at":"2025-04-10T16:31:01.476Z","avatar_url":"https://github.com/junkblocker.png","language":"Vim Script","readme":"===============\npatchreview.vim\n===============\n\n.. contents::\n   :depth: 5\n   :backlinks: top\n\nIntroduction\n============\n\nThe Patch Review plugin allows easy single or multipatch code or diff reviews.\n\nIt opens each affected (modified/added/deleted) file in the patch or in a\nversion controlled workspace diff in a diff view in a separate tab.\n\nVIM provides the ``:diffpatch`` command to do single file reviews but can not\nhandle patch files containing multiple patches as is common with software\ndevelopment projects.  This plugin provides that missing functionality.\n\nIt also does not pollute the workspace like ``:diffpatch`` does by writing\nfiles in the workspace.\n\nIt does automatic diff generation for various version control systems by\nrunning their respective diff commands.\n\n(Keywords: codereview, codereviews, code review, patch, patchutils, diff,\ndiffpatch, patchreview, patchreviews, patch review, vcs, scm, mercurial,\nbazaar, hg, bzr, cvs, monotone, mtn, git, perforce, fossil)\n\n\nRequirements\n============\n\n1. Vim 7.0 or higher built with ``+diff`` option.\n\n2. A gnu compatible patch command installed. This is the standard patch command\n   on any Linux, Mac OS X, \\*BSD, Cygwin or ``/usr/bin/gpatch`` on newer\n   Solaris/OpenSolairs.\n\n   For Windows, UnxUtils ( http://unxutils.sourceforge.net/ ) provides a\n   compatible patch implementation. However, you might need to set:\n\n   .. code:: vim\n\n      let g:patchreview_patch_needs_crlf = 1\n\n   in your .vimrc file.\n\n\nInstallation\n============\n\nOption 1: Use a bundle manager\n------------------------------\n\nUse your favorite vim package manager to install from the github repository for\nthe project. Examples:\n\n.. code:: vim\n\n   \" With vim-plug\n   Plug 'junkblocker/patchreview-vim'\n\n   \" With NeoBundle\n   NeoBundle 'junkblocker/patchreview-vim'\n\n   \" With dein.vim\n   call dein#add('junkblocker/patchreview-vim')\n\n   \" With Vundle\n   Bundle 'junkblocker/patchreview-vim'\n\n\nOption 2: Installation with Pathogen\n------------------------------------\n\n.. code:: sh\n\n   % cd ~/.vim/bundle\n   % git clone https://github.com/junkblocker/patchreview-vim\n\n\nOption 3: Install by hand\n-------------------------\n\n1) Extract the zip from http://www.vim.org/scripts/script.php?script_id=1563\n   in your ``$HOME/.vim`` or ``$VIM/vimfiles`` directory and restart vim. The\n   directory location relevant to your platform can be seen by running:\n\n   .. code:: vim\n\n      :help add-global-plugin\n\n   in vim.\n\n   Alternatively, if installing from extracted form, copy the directories by\n   hand:\n\n   .. code:: sh\n\n      % cp -r autoload doc plugin $HOME/.vim/\n\n2) Generate help tags to use help\n\n   .. code:: vim\n\n      :helptags $HOME/.vim/doc\n\n   or, for example on Windows if you installed under ``$VIM/vimfiles``:\n\n   .. code:: vim\n\n      :helptags $VIM/vimfiles/doc\n\n   etc.\n\n\nUsage\n=====\n\n* Reviewing current changes in your workspace:\n\n  .. code:: vim\n\n     :DiffReview\n\n* Reviewing staged git changes:\n\n  .. code:: vim\n\n     :DiffReview git staged --no-color -U5\n\n* Reviewing a patch:\n\n  .. code:: vim\n\n     :PatchReview some.patch\n\n* Reviewing a previously applied patch (AKA reverse patch review):\n\n  .. code:: vim\n\n     :ReversePatchReview some.patch\n\n* See\n\n  .. code:: vim\n\n     :h patchreview\n\n  for usage details.\n\n\nLimitations\n===========\n\nThe plugin can not handle diffs/patches which change the line ending types\nbetween DOS, UNIX and Mac etc. This is a general patching problem and is not\nspecific to this plugin.\n\n\nFork me\n=======\n\nFork this project at https://github.com/junkblocker/patchreview-vim\n","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunkblocker%2Fpatchreview-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunkblocker%2Fpatchreview-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunkblocker%2Fpatchreview-vim/lists"}