Fix git_commits_{ahead,before} when no upstream branch is defined (#6658)
If @{u} is not defined, git rev-list will give an error; redirect to stderr the error and deal with this case in what follows.
Loading
Please register or sign in to comment