Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
pad92 committed Nov 22, 2022
1 parent c3da7e6 commit dfb75aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh/functions/git.zsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
git_prune_r() {
for REPO in $(find $(pwd) -type d -name .git | sed 's@/.git@@g'); do
echo -ne "- ${REPO}"
PRUNE=$(git --git-dir=${REPO}/.git remote prune origin 2&>1 )
PRUNE=$(git --git-dir=${REPO}/.git remote prune origin 2>&1 )
if [ $? -ne 0 ]; then
echo -ne "\tERROR\n"
echo "$(date +"%Y%m%d-%H%M") ERROR: ${REPO}" >> prune.log
Expand Down

0 comments on commit dfb75aa

Please sign in to comment.