Age | Commit message (Collapse) | Author |
|
Script to show a Git diff of the current changes. Uses `master..` as the
default base.
|
|
This script takes a subcommand as the first argument and executes an
executable called "code-review-${subcommand}", similar to the way Git
does subcommands.
Using this subcommand system, I can have different unrelated subcommands
in separate files/scripts, making it easier to organise the code.
|
|
Going to set up a Git-style subcommand system where subcommands are
separate executables.
|
|
A couple methods to get the absolute path to the changed files. This
allows the output to be used to operate on changed files even if the
current directory is not the repo root. Otherwise, all files are listed
relative to the repository root.
|
|
Arguments are a Git refspec.
|
|
|
|
Performs a dir diff opening all changed files in separate tabs in Vim
all in diff mode.
Currently it has some problems as `vdwrap` uses `/dev/null` to compare
against new files, but Vim pops up errors saying `/dev/null` isn't a
real file.
|
|
|
|
This script is going to be sourced into an interactive shell session.
Don't set unnecessary variables.
|
|
Shell function that checks out a pull request in a git worktree and
changes into the worktree directory.
|
|
|