Make rfetch a single file
This commit is contained in:
parent
26faa63689
commit
86e3c44561
2 changed files with 2 additions and 4 deletions
|
@ -1,3 +0,0 @@
|
|||
echo "Fetching $1"
|
||||
cd $1
|
||||
git fetch
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
find . -type d -name '.git' \
|
||||
| sed 's/\/\.git$//' \
|
||||
| xargs -P $(nproc) -I % _fetchdir %
|
||||
| xargs -P $(nproc) -I % sh -c "echo 'Fetching %...'; cd %; git fetch"
|
||||
|
|
Loading…
Reference in a new issue