c08afca63f
Support 'git branch'
Nathan Broadbent
2012-08-16 02:58:01 +12:00
b978b1bd43
Fall back to normal git branch, if any unknown args given. Also add aliases for git branch -a and -m
Nathan Broadbent
2012-08-16 02:53:52 +12:00
ef91007da9
Use $_git_cmd internally
Nathan Broadbent
2012-08-16 02:39:58 +12:00
af84c992b7
Re-organized files. Added shortcuts for git branches, under gb function
Nathan Broadbent
2012-08-16 02:32:53 +12:00
5e7f49ec7d
Wrap everything in a git function so that zsh can expand any aliases for tab completion
Nathan Broadbent
2012-08-13 04:11:09 +12:00
30ebeb281e
Moved git index tab completion into bash conditional
Nathan Broadbent
2012-08-13 03:40:21 +12:00
b4655662cd
Disabling buggy Zsh tab completion for now. Will try to revisit this later on, but no completion is better than broken completion.
Nathan Broadbent
2012-08-13 03:27:53 +12:00
0cd7a56c9c
Updated README with alias wrapping feature
Nathan Broadbent
2012-08-13 03:14:15 +12:00
bcce949f3c
Added git_augment_current_aliases option if you just want to wrap your current git aliases, instead of overriding them all with new ones.
Nathan Broadbent
2012-08-13 02:53:04 +12:00
e7d7b8b2c1
Added even more escaped characters for command line evaluation
Nathan Broadbent
2012-08-13 02:52:18 +12:00
98dc23a529
Explanation for ahead code
Nathan Broadbent
2012-08-13 01:33:37 +12:00
4543884aa6
If no changes, just display green no changes message and exit. This is mainly to prevent shell script from detecting no output and assuming that max changes limit was reached
Nathan Broadbent
2012-08-13 01:32:12 +12:00
9410387485
Added test for new fallback explanation message
Nathan Broadbent
2012-08-13 01:23:27 +12:00
3a507fbd5a#34 - Increased max changes before falling back to standard git status, from 99 to 150. Also added a explanation message that is shown after the regular git status.
Nathan Broadbent
2012-08-13 01:21:23 +12:00
850be06559
Convert git_add_patch into a simple command
Will Walthall
2012-08-12 09:18:02 -04:00
989b2233b7
_git_expand_args_escaped not needed
Nathan Broadbent
2012-08-13 01:00:18 +12:00
aaf4f5fac5
Use tabs as delimiter so that files with spaces are properly handled. Escape spaces only in exec_git_expand_args, use tabs to split everything else.
Nathan Broadbent
2012-08-13 00:22:16 +12:00
97721437c9
Change _find_git_repos function fixing situation when no one repo was found by "c --rebuild" when $GIT_REPO_DIR is symbolic link
coodix
2012-05-20 22:41:08 +04:00
b50639f55c
Fixed list_aliases() function for Zsh. (Use alias instead of alias -p, and tweaked sed to support both output formats.)
Nathan Broadbent
2012-05-08 16:35:52 +12:00
69a44f3775
Fixed _design_add_git_exclude() function to use 'git rev-parse --git-dir', which will support submodules.
Nathan Broadbent
2012-05-08 16:23:45 +12:00
5e14302f56
Use 'autoload -Uz bashcompinit', as recommended in #21
Nathan Broadbent
2012-05-08 16:08:32 +12:00