citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit bbfaa3fc264d63258ad931f5b80c4ac385d8f451
parent 232397fa404b5452c39275cebca2b5c4c5359c3f
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 19 Sep 2020 05:03:54 -0700

bin/github-pr: customize upstream

Diffstat:
Mbin/git-pr | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/git-pr b/bin/git-pr @@ -8,4 +8,6 @@ usage () { ref="$1" shift -exec git log --reverse "$@" "refs/merge/origin/$ref^..refs/pull/origin/$ref" +upstream="${1:-origin}" +shift +exec git log --reverse "$@" "refs/merge/$upstream/$ref^..refs/pull/$upstream/$ref"