all repos — nixfiles @ 8e6914e092e652579ffc16b9721886ce6dfd8ded

System and user configuration, managed by nix and home-manager

git: enable pending with GitHub squash-merges
Alan Pearce alan@alanpearce.eu
Thu, 27 Sep 2018 13:54:06 +0200
commit

8e6914e092e652579ffc16b9721886ce6dfd8ded

parent

3cadfd775b165fb3ecfd85809db793e79e8b3347

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M git/.config/git/configgit/.config/git/config
@@ -18,7 +18,7 @@ br = branch 	co = checkout
 	ready = rebase -i @{u}
 	lasttag = "!sh -c 'git tag --sort=version:refname | grep \"^v\\?[0-9]\" | tail -n1'"
-	pending = "!sh -c 'git log --oneline --merges --grep=\"Merge pull request\" ...$(git lasttag)'"
+	pending = "!sh -c 'git log --oneline --grep=\"#[0-9]\" ...$(git lasttag)'"
 	lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %Cred%d%Creset'
 	ignored = ls-files --others -i --exclude-standard
 	bump = !bmpr