mirror of https://tildegit.org/ben/dotfiles
change gall to a sh script
parent
c65852cdf4
commit
b861a2a482
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
repos=$(find ~/workspace -type d -name .git)
|
||||||
|
|
||||||
|
for repo in $repos; do
|
||||||
|
dir=$(dirname "$repo")
|
||||||
|
printf "%s\n" "$(basename "$dir")"
|
||||||
|
git -C "$dir" "$@"
|
||||||
|
printf "\n"
|
||||||
|
done
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Defined in /tmp/fish.sXa0jy/gall.fish @ line 2
|
|
||||||
function gall
|
|
||||||
find ~/workspace -type d -name .git -print0 \
|
|
||||||
| xargs -0 -n1 -I% git --git-dir=% --work-tree=%/.. $argv
|
|
||||||
end
|
|
|
@ -13,6 +13,12 @@
|
||||||
[pull]
|
[pull]
|
||||||
ff = only
|
ff = only
|
||||||
|
|
||||||
|
[pager]
|
||||||
|
diff = diff-highlight | less
|
||||||
|
log = diff-highlight | less
|
||||||
|
reflog = diff-highlight | less
|
||||||
|
show = diff-highlight | less
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
colorMoved = default
|
colorMoved = default
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 6c19f1ddfb74b3b21f3d1e830bee1d1ed6a72ece
|
Subproject commit c29ef11cd6478da675678265e76f9e527843876f
|
Loading…
Reference in New Issue