Skip to content
Snippets Groups Projects
Commit 4eb5aad6 authored by Jonas Gorski's avatar Jonas Gorski
Browse files

scripts/getver.sh: try to get branch/upstream automatically


Instead of assuming master is the current branch and origin the right
upstream, try to get both dynamically. If the current branch is not
tracking any upstream, use the origin of the master branch.

Signed-off-by: default avatarJonas Gorski <jonas.gorski@gmail.com>
parent efa1960a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment