aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
Commit message (Collapse)AuthorAge
...
* Run shellcheck (shell scripting linter) on shell scripts.Michael Ennen2016-05-11
| | | | | | | | | | | | | | | | | There are a total of 5 shell scripts in the Neovim source tree. All but runtime\macros\less.sh had warnings/errors when run through Shellcheck (http://www.shellcheck.net/). This commit fixes all warnings/errors and also changes the shebang to "#!/bin/sh" when possible (this was not possible for vim-patch.sh because it uses many bashisms). The shellcheck errors that were fixed are: SC2068: Double quote array expansions to avoid re-splitting elements. SC2086: Double quote to prevent globbing and word splitting. SC2124: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate SC2155: Declare and assign separately to avoid masking return values.
* vim-patch.sh: fix/improve pattern with find_git_remoteDaniel Hahler2016-04-24
|
* vim-patch.sh: Query git for name of neovim remoteJames McCoy2016-04-23
| | | | | Rather than assume the user named their neovim/neovim remote "upstream", parse the information from "git remote -v".
* vim-patch.sh: Fetch the whole vim repository and fix a regexppips.linux2016-04-08
| | | | | | | Make get_vim_sources fetch the whole repository (it's not THAT big) so we can pick up all the patches. The regexp didn't pick up the NA patches if there was a comma after NA, so I extended it (I allowed arbitray things after NA, so maybe someone can write a comment or so, should not lead to confusion).
* vim-patch.sh: Replace #<number> with vim/vim#<number> in commit messages.Florian Walch2016-02-17
|
* vim-patch.sh: Support multi-patch pull requests.Florian Walch2016-02-17
| | | | | | | | | | | | | | * Calling "vim-patch.sh -p" on a checked-out branch already created with "-p" will re-use the branch and append commits. * Fetch upstream/master before checking out branch on first call of "-p". * Reverted creation of commit in submit step ("-s") to previous behavior: Create an empty commit with correct commit message when "-p" is called. * Submitting a pull request with "-s" will create a correct pull request message even if multiple patches have been ported in one single branch with "-p".
* vim-patch.sh: Add -s (submit pull request) option.Florian Walch2016-02-17
| | | | | | When calling "vim-patch.sh -s" on a checked-out branch created with "vim-patch.sh -p", create commit from staged changes, push to origin, create pull request (using hub), and clean up patch files.
* vim-patch.sh: Use .patch files only.Florian Walch2016-02-17
|
* vim-patch.sh: Improvements for review functionality.Florian Walch2016-02-17
| | | | | | * Support pull requests with multiple commits. * Offer to clean up files after review. * Always use full commit hash in assign_commit_details().
* vim-patch.sh: List in chronological order. #4034Florian Walch2016-01-20
|
* vim-patch.sh: Fix listing of NA patches. #4034Florian Walch2016-01-17
|
* vim-patch.sh: fix regressionJustin M. Keyes2016-01-08
|
* vim-patch.sh: force LC_ALL=C for preprocessingJustin M. Keyes2015-12-17
| | | | | | | | | | Any patch may contain mixed encodings, so we must process them as byte arrays. E.g. with stock `sed` on OS X patch 8a94d873aa8c753a8522ea86a049bdf2abd0c507 causes this error: sed: RE error: illegal byte sequence To avoid that, set LC_ALL=C. Also remove redundant *.patch creation from review_pr().
* vim-patch.sh: fix order of non-tagged patchesJustin M. Keyes2015-12-17
| | | | Sort non-tagged patches in descending order, like tagged patches.
* Fix the examples for vim-patch.sh so they are valid commands. #3631Johan Klokkhammer Helsing2015-11-08
| | | | The examples were missing the required -p flag.
* vim-patch.sh: best-effort for older git.Justin M. Keyes2015-08-27
|
* vim-patch.sh: get all untagged patches #3250Justin Gassner2015-08-27
|
* vim-patch.sh: update for gitJustin M. Keyes2015-08-26
|
* vim-patch.sh: update for Vim's hg => git migrationJohn Whitley2015-08-26
|
* vim-patch.sh: Add --review option to compare PR and original diffs. #3083Florian Walch2015-08-03
| | | | Helped-by: Michael Reed <m.reed@mykolab.com>
* vim-patch.sh: Fix indentation, use GH URL for tagged versions. #2525Florian Walch2015-04-28
| | | | | | * Link to the commit details on GitHub for a tagged version. * Non-tagged patches (runtime updates) are still linked to Google Code because they are identified by a Mercurial commit hash.
* scripts/vim-patch.sh: Misc. improvements #2108Michael Reed2015-03-16
| | | | | | | | | | | | - Check for mercurial before using it - Make 'Merging patches...' wiki page easier to copy - Use `basename` instead of assuming the user is running vim-patch.sh via the repo root - Appease shellcheck by quoting path variables - Remove unneeded variable quoting inside [[ ]] blocks - Don't unconditionally 'exit 1' '-h' and '--help' are both recognized options, so current behavior is misleading.
* scripts/vim-patch: Allow equivalent shorthand argsMichael Reed2015-02-02
|
* vim-patch.sh: Add option to list missing Vim changesets.Florian Walch2015-01-14
|
* Improvements to vim-patch script.Florian Walch2014-12-25
|
* Ignore update errors in vim-patch script.Florian Walch2014-12-23
|
* Add helper script for porting vim patches.Florian Walch2014-11-21