Made local-commits work with all remotes

This commit is contained in:
Tobias Fendin 2022-01-03 16:45:09 +01:00
parent b772251074
commit 7aa178acc9

View file

@ -1,6 +1,3 @@
#!/usr/bin/env bash
ref=$(git symbolic-ref HEAD)
branch=${ref#refs/heads/}
git log origin/${branch}..${branch} $*
git log @{upstream}..@ $*