change gall to a sh script

master
Ben Harris 2022-02-17 16:42:31 -05:00
parent c65852cdf4
commit b861a2a482
4 changed files with 18 additions and 6 deletions

11
bin/bin/gall 100755
View File

@ -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

View File

@ -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

View File

@ -13,6 +13,12 @@
[pull]
ff = only
[pager]
diff = diff-highlight | less
log = diff-highlight | less
reflog = diff-highlight | less
show = diff-highlight | less
[diff]
colorMoved = default

@ -1 +1 @@
Subproject commit 6c19f1ddfb74b3b21f3d1e830bee1d1ed6a72ece
Subproject commit c29ef11cd6478da675678265e76f9e527843876f