Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-16 | Merge remote-tracking branch 'upstream/master' into hotfix/unittests | Claudio Bandera | 1 | -9/+9 | |
2015-09-17 | Added switch case for OS type in tests | Claudio Bandera | 1 | -2/+12 | |
2015-09-17 | Merge remote-tracking branch 'upstream/master' into hotfix/unittests | Claudio Bandera | 1 | -14/+15 | |
2015-09-17 | Switch local commits to use prefixes | Michael Allen | 1 | -9/+9 | |
2015-09-16 | Test the new functions directly | Michael Allen | 1 | -0/+5 | |
2015-08-30 | Fixed unittests for Ubuntu | Claudio Bandera | 1 | -5/+3 | |
2015-08-30 | Remove color tests from test-commits as test-colors covers it | Michael Allen | 1 | -14/+10 | |
2015-08-26 | Bypass PS1s conversion of \[ | Michael Allen | 1 | -3/+3 | |
In PS1 you need to escape non-printing characters, like the color codes. The standard way is wrapping it in `\[` and `\]`. But for a dynamic prompt, i.e. one that renders the results of a function every time the prompt renders, that `\[` will be output as literals. To fix this we bypass the conversion and wrap our non-printing characters in the desired characters directly: `\[` -> `\x01` `\]` -> `\x02` | |||||
2015-08-21 | Fix tests that broke since printf bash change | Michael Allen | 1 | -3/+3 | |
The printf change in d5dbddf68c45dfff380d6e6767de401054024a19 caused the escape sequences to be returned differently. This commit fixes tests that were expecting the escape sequences to be changed from \\033 to \\E. | |||||
2015-08-19 | Rename to git-radar | Michael Allen | 1 | -1/+1 | |
2015-08-11 | Switch to printf for it's reliability | Michael Allen | 1 | -3/+3 | |
2015-08-10 | Move local commit test to commits test file | Michael Allen | 1 | -0/+56 | |
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 | |