Commit Graph

320 Commits

Author SHA1 Message Date
Nathan Broadbent
eab3957a11 Escape \which just in case someone else overrides it with an alias :) 2012-08-13 18:51:42 +12:00
Nathan Broadbent
b8c0ba69de Try removing any git functions as well, before setting git path via which git 2012-08-13 18:07:49 +12:00
Nathan Broadbent
aa3ca39d50 whitespace 2012-08-13 16:11:39 +12:00
Nathan Broadbent
802ac0c509 Use the full path to git to avoid infinite loop with git function 2012-08-13 16:09:19 +12:00
Nathan Broadbent
17823102f4 Remove any 'git' alias before creating the git function 2012-08-13 11:31:55 +12:00
Nathan Broadbent
d092c51aa6 Only expand args for a subset of git commands 2012-08-13 11:24:40 +12:00
Nathan Broadbent
44b1adfd28 Improved readme 2012-08-13 04:22:58 +12:00
Nathan Broadbent
5e7f49ec7d Wrap everything in a git function so that zsh can expand any aliases for tab completion 2012-08-13 04:11:09 +12:00
Nathan Broadbent
30ebeb281e Moved git index tab completion into bash conditional 2012-08-13 03:40:21 +12:00
Nathan Broadbent
b4655662cd Disabling buggy Zsh tab completion for now. Will try to revisit this later on, but no completion is better than broken completion. 2012-08-13 03:27:53 +12:00
Nathan Broadbent
6b74a58627 Wording 2 2012-08-13 03:16:49 +12:00
Nathan Broadbent
349495bd1e wording 2012-08-13 03:15:15 +12:00
Nathan Broadbent
0cd7a56c9c Updated README with alias wrapping feature 2012-08-13 03:14:21 +12:00
Nathan Broadbent
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.
2012-08-13 02:53:06 +12:00
Nathan Broadbent
e7d7b8b2c1 Added even more escaped characters for command line evaluation 2012-08-13 02:52:18 +12:00
Nathan Broadbent
cf37be73d4 add => Added 2012-08-13 01:58:44 +12:00
Nathan Broadbent
79a1132730 Merge pull request #43 from ghthor/master
Simplified git add -p alias
2012-08-12 06:34:45 -07:00
Nathan Broadbent
98dc23a529 Explanation for ahead code 2012-08-13 01:33:37 +12:00
Nathan Broadbent
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
2012-08-13 01:32:30 +12:00
Nathan Broadbent
9410387485 Added test for new fallback explanation message 2012-08-13 01:23:27 +12:00
Nathan Broadbent
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. 2012-08-13 01:21:23 +12:00
Will Walthall
850be06559 Convert git_add_patch into a simple command 2012-08-12 09:18:02 -04:00
Nathan Broadbent
989b2233b7 _git_expand_args_escaped not needed 2012-08-13 01:00:18 +12:00
Nathan Broadbent
d128fb58d7 Fixed merge conflict resolution functions to handle multiple expanded arguments 2012-08-13 00:58:51 +12:00
Nathan Broadbent
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. 2012-08-13 00:22:16 +12:00
Nathan Broadbent
9fe0f45185 Fixed design tests - needs a git repo 2012-08-12 21:45:55 +12:00
Nathan Broadbent
c4f49c96d7 Use escaped git function, so it doesn't go through any aliases like hub 2012-08-12 21:32:05 +12:00
Nukul Bhasin
240399bd92 work around for ndbroadbent/scm_breeze#27 2012-08-12 21:19:49 +12:00
Nathan Broadbent
9930ba5331 Added switch for zsh / bash 2012-08-12 21:16:05 +12:00
Nathan Broadbent
55950ad896 Merge pull request #40 from flipkick/master
bugfix for #33. don't add a trailing space when creating aliases
2012-08-12 02:00:49 -07:00
Nathan Broadbent
0ccb241833 removed tabs 2012-07-14 10:47:45 +12:00
Nathan Broadbent
6d6e1455be Reindented new lines 2012-07-14 10:47:07 +12:00
Nathan Broadbent
94b2b9b7d4 Merge pull request #42 from alhad/gs_relative_path_fix
Avoid infinite loop in __gs_relative_path when $(PWD) contains a symlink...
2012-07-13 15:46:33 -07:00
Alhad Purnapatre
5071256716 Avoid infinite loop in __gs_relative_path when $(PWD) contains a symlink. 2012-07-13 14:24:35 -07:00
flipkick
d9734ef039 fixes #33, don't define the aliases with a trailing space when there is no following argument 2012-06-22 22:42:30 +02:00
Nathan Broadbent
4531d9566a Made the default 'git log' command nicer (thanks to http://coderwall.com/p/euwpig?i=3&p=1&t=git :) 2012-06-20 15:50:59 +12:00
Nathan Broadbent
67286496bd Fixed design link command to use first match, if project is symlinked into multiple directories 2012-05-30 11:35:33 +12:00
Nathan Broadbent
a87d8f3edf Merge pull request #35 from coodix/master
Symbolic link in $GIT_REPO_DIR
2012-05-21 00:33:34 -07:00
coodix
97721437c9 Change _find_git_repos function fixing situation when no one repo was found by "c --rebuild" when $GIT_REPO_DIR is symbolic link 2012-05-20 22:41:08 +04:00
Nathan Broadbent
b48ea28cb1 Merge pull request #32 from coolluck/master
Avoid bash's variable unbound error
2012-05-08 17:37:05 -07:00
Minsu Choi
a8319e187d avoid "bash:unbound" error when "nounset" option enabled (set -o nounset) 2012-05-09 09:15:01 +09:00
Nathan Broadbent
b50639f55c Fixed list_aliases() function for Zsh. (Use alias instead of alias -p, and tweaked sed to support both output formats.) 2012-05-08 16:35:56 +12:00
Nathan Broadbent
69a44f3775 Fixed _design_add_git_exclude() function to use 'git rev-parse --git-dir', which will support submodules. 2012-05-08 16:25:00 +12:00
Nathan Broadbent
5e14302f56 Use 'autoload -Uz bashcompinit', as recommended in #21 2012-05-08 16:25:00 +12:00
Nathan Broadbent
4fb9123f19 Merge pull request #24 from tylerholien/master
Changed usage text to reflect '-' ranges instead of '..' ranges
2012-05-07 21:06:10 -07:00
Nathan Broadbent
b1aba1480b Replace 'command grep' with '\grep' to break out of aliases 2012-05-08 16:02:20 +12:00
Nathan Broadbent
c65c340a83 Merge pull request #25 from grota/master
avoid possible aliasing of grep
2012-05-07 20:59:43 -07:00
Nathan Broadbent
607590c9c7 Merge pull request #31 from focusaurus/patch-1
Avoid warning message if ~/.scmbrc does not exist
2012-05-07 16:50:44 -07:00
Peter Lyons
b4de983768 Avoid warning message if ~/.scmbrc does not exist 2012-05-07 09:31:19 -06:00
Giuseppe
f9f6da479e Forgot other command grep 2012-05-02 23:03:26 +02:00