Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-08-19 | Rename to git-radar | Michael Allen | 1 | -471/+0 | |
2015-08-19 | Remove unnecessary subshells from bash prompt | Michael Allen | 1 | -3/+3 | |
In the zsh prompt we need to use '%s' on the printf to prevent the `${fg_bold[<color>]}` expressions from expanding before the colors have been loaded in. In the bash prompt this is unnecessary as the \\033 codes are base control characters, and so have no dependency they rely on. | |||||
2015-08-18 | Switch to the more common -E grep regex flag | Michael Allen | 1 | -11/+11 | |
2015-08-11 | Example of how to use the git-base.sh library | Michael Allen | 1 | -0/+25 | |
2015-08-11 | Switch to printf for it's reliability | Michael Allen | 1 | -39/+39 | |
2015-08-11 | Provide a bash way to show remote commits | Michael Allen | 1 | -0/+25 | |
2015-08-10 | Remove unnecessary is_repo check from commit functions | Michael Allen | 1 | -26/+20 | |
2015-08-10 | don't do the remote call in the local commit diff | Michael Allen | 1 | -4/+0 | |
2015-08-06 | Allow custom separators between parts | Michael Allen | 1 | -14/+22 | |
2015-08-06 | Preserve whitespace in function results | Michael Allen | 1 | -4/+4 | |
2015-08-06 | Provide bash colors for local commit diffs | Michael Allen | 1 | -0/+26 | |
2015-08-06 | Provide example of local commit difference | Michael Allen | 1 | -0/+26 | |
2015-08-06 | Provide colors for bash as well as Zsh | Michael Allen | 1 | -0/+36 | |
2015-08-02 | Include color prefixes in zsh status prompt | Michael Allen | 1 | -4/+4 | |
2015-08-02 | Fixed missing staged and unstaged modifications case | Michael Allen | 1 | -2/+2 | |
2015-07-24 | remove colors and use them in a function so that it isn't tied down to ZSH | Michael Allen | 1 | -5/+36 | |
2015-07-23 | provide the ability to surround letter in a status with a color | Michael Allen | 1 | -2/+2 | |
2015-07-23 | remove unnecessary added/modified/etc | Michael Allen | 1 | -19/+21 | |
2015-07-21 | cleaned up the status line issues and provided tests for them | Michael Allen | 1 | -15/+26 | |
2015-06-21 | simplified the commit comparison functions | Michael Allen | 1 | -32/+4 | |
2015-06-03 | fixed issue with branches that contain other branch names | Michael Allen | 1 | -1/+1 | |
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 | -4/+12 | |
2015-03-10 | didn't silence properly | Michael Allen | 1 | -3/+3 | |
2015-03-10 | typo | Michael Allen | 1 | -3/+3 | |
2015-03-10 | clean code and silence git calls | Michael Allen | 1 | -17/+4 | |
2015-03-10 | list files from the root, not current dir | Michael Allen | 1 | -1/+1 | |
2015-03-10 | try to tell if a dir is dirty | Michael Allen | 1 | -0/+46 | |
2015-03-09 | prevent bad grep usage when no branch_name | Michael Allen | 1 | -6/+8 | |
2015-03-09 | revert to grepping as when two remote branches are up to one commit things ↵ | Michael Allen | 1 | -2/+2 | |
get weird | |||||
2015-03-09 | ensure remote_branch_name is fails quietly | Michael Allen | 1 | -1/+1 | |
2015-03-09 | quieten fatal remote_branch_name calls | Michael Allen | 1 | -1/+2 | |
2015-03-09 | remove unnecessary is_repo checks | Michael Allen | 1 | -16/+12 | |
2015-03-09 | sped up remote_branch_name by not needing to call branch_name | Michael Allen | 1 | -1/+1 | |
2015-03-02 | speed up remote_behind/ahead by not checking if tracking = remote | Michael Allen | 1 | -2/+4 | |
2015-03-02 | add a sh file for calling the fetch | Michael Allen | 1 | -4/+0 | |
I tried many ways to get the fetch call to background without staying attached to the current subshell. Ends up it's not possible to nohup or fully disown a function that is defined inside the same file that's calling it. So simple answer, I've created a file `fetch.sh` that can be called inside nohup. It will source `git-base.sh` and call the fetch function. | |||||
2015-03-01 | provide a default for remote_branch_name so we can be faster | Michael Allen | 1 | -4/+4 | |
2015-02-27 | remove dead is_tracking_remote function | Michael Allen | 1 | -8/+0 | |
2015-02-27 | optmise commits against functions by not checking if_tracking_remote | Michael Allen | 1 | -8/+12 | |
2015-02-23 | force more work into background task | Michael Allen | 1 | -5/+5 | |
2015-02-23 | quieten the git fetch call | Michael Allen | 1 | -1/+1 | |
2015-02-23 | quieten the stat call | Michael Allen | 1 | -1/+1 | |
2015-02-23 | fixed bad math and added recording the timestamp when we fetch | Michael Allen | 1 | -8/+3 | |
2015-02-23 | default timestamp to 0 if no recorded timestamp | Michael Allen | 1 | -2/+6 | |
2015-02-22 | remove trailing whitespace | Michael Allen | 1 | -10/+10 | |
2015-02-22 | faster files status strings | Michael Allen | 1 | -35/+71 | |
2015-02-18 | status is a readonly variable in zsh | Michael Allen | 1 | -2/+2 | |
2015-02-18 | caught copypasta mistake | Michael Allen | 1 | -11/+11 | |
2015-02-18 | handle detached heads cleanly | Michael Allen | 1 | -3/+26 | |
2015-02-17 | add functions for conflicted changes | Michael Allen | 1 | -0/+18 | |
2015-02-17 | add functions to show staged changes | Michael Allen | 1 | -4/+23 | |