Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-03 | fixed issue with branches that contain other branch names | Michael Allen | 1 | -0/+68 | |
When a remote branch begins with or ends with the local branch name then the commits against diff functions can report the commits for the remote branch instead of your local branch, e.g.: I have local branch `foo` with 1 commit ahead of master and a remote branch `foobar` with 2 ahead of master. The prompt will report 2 commits instead of the true 1 commit because the `grep $branch_name` returns the `foobar` branch. Simple fix is to ensure we grep for the full `/<branch_name>$` so: branch_name = `foo` `origin/foo` matches `other/foo` matches `origin/foobar` doesn't match `origin/barfoo` doesn't match | |||||
2015-05-07 | cleanly support repos with no master to track | Michael Allen | 1 | -0/+41 | |
2015-03-02 | speed up remote_behind/ahead by not checking if tracking = remote | Michael Allen | 1 | -0/+25 | |
2015-03-01 | provide a default for remote_branch_name so we can be faster | Michael Allen | 1 | -2/+47 | |
2015-02-16 | functions to get the commit difference between the branch on the remote and ↵ | Michael Allen | 1 | -0/+74 | |
the master | |||||
2015-02-12 | find branch names and commits ahead or behind | Michael Allen | 1 | -0/+118 | |