Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 9 lines (7 sloc) 0.305 kb
1 2 3 4 5 6 7 8 9
#!/bin/bash

# Like |hg qparent|, gives last common revision between HEAD and upstream
#
# The upstream branch is set via git branch --set-upstream <branch> <upstream>.
# If no upstream branch has been explicitly set, we use origin/master.

PATH="$(dirname $0):$PATH"
git merge-base HEAD $(git tracks -d)
Something went wrong with that request. Please try again.