All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8f4a012)
This pushes to the respective remotes of all vcsh repos.
+function _vcsh-push () {
+ _nothing
+}
+
function _vcsh-rename () {
(( CURRENT == 2 )) && __vcsh_repositories
(( CURRENT == 3 )) && _message "new repository name"
function _vcsh-rename () {
(( CURRENT == 2 )) && __vcsh_repositories
(( CURRENT == 3 )) && _message "new repository name"
`vcsh` rename <repo> <newname>
`vcsh` run <repo> <shell command>
`vcsh` rename <repo> <newname>
`vcsh` run <repo> <shell command>
* pull:
Pull from all vcsh remotes.
* pull:
Pull from all vcsh remotes.
+* push:
+ Push to all vcsh remotes.
+
* rename:
Rename a repository.
* rename:
Rename a repository.
list-tracked-by \\
<repo> List files tracked by a repository
pull Pull from all vcsh remotes
list-tracked-by \\
<repo> List files tracked by a repository
pull Pull from all vcsh remotes
+ push Push to vcsh remotes
rename <repo> \\
<newname> Rename repository
run <repo> \\
rename <repo> \\
<newname> Rename repository
run <repo> \\
+push() {
+ hook pre-push
+ for VCSH_REPO_NAME in $(list); do
+ echo -n "$VCSH_REPO_NAME: "
+ export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git"
+ use
+ git push
+ done
+ hook post-push
+}
+
rename() {
git_dir_exists
[ -d "$GIT_DIR_NEW" ] && fatal "'$GIT_DIR_NEW' exists" 54
rename() {
git_dir_exists
[ -d "$GIT_DIR_NEW" ] && fatal "'$GIT_DIR_NEW' exists" 54
[ "$VCSH_COMMAND" = 'write-gitignore' ]
elif [ "$1" = 'list' ] ||
[ "$1" = 'list-tracked' ] ||
[ "$VCSH_COMMAND" = 'write-gitignore' ]
elif [ "$1" = 'list' ] ||
[ "$1" = 'list-tracked' ] ||
- [ "$1" = 'pull' ]; then
+ [ "$1" = 'pull' ] ||
+ [ "$1" = 'push' ]; then
export VCSH_COMMAND="$1"
elif [ -n "$2" ]; then
export VCSH_COMMAND='run'
export VCSH_COMMAND="$1"
elif [ -n "$2" ]; then
export VCSH_COMMAND='run'