Make git-push-pending bash script more generic
This commit is contained in:
parent
f934cf59e1
commit
bd87f3a9e6
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
(echo $HOME/darkrc; echo $HOME/me; find $HOME/workspace/ -name '*.git' -type d | sed 's/\/.git$//') \
|
(for name in $@; do find $name -name '*.git' -type d | sed 's/\/.git$//'; done) \
|
||||||
| xargs git-pending \
|
| xargs git-pending \
|
||||||
| grep '^ahead' \
|
| grep '^ahead' \
|
||||||
| lua -e 'for line in io.lines() do print(line:match("[^/]+$")); print((line:gsub("^[^ ]* ", ""))) end' \
|
| lua -e 'for line in io.lines() do print(line:match("[^/]+$")); print((line:gsub("^[^ ]* ", ""))) end' \
|
||||||
|
|
Loading…
Reference in a new issue