Projet

Général

Profil

Révision 349952e5

Ajouté par Julien Enselme il y a plus de 9 ans

git-report.sh: sends no email.

The forge sends the email containing the modification. This report is unuseful.

Voir les différences:

bin/git-report.sh
7 7
    mail_unclean_work_tree "[git] WORK TREE UNCLEAN"
8 8
fi
9 9

  
10
git_log=$(git log -p --since="yesterday" --pretty=format:"########## %s ###########")
11
if [ -n "$git_log" ] ; then
12
    echo "$git_log" | mail -s "[git] Report" $email_multi_assos
13
fi
14

  
15
git pull --rebase > /dev/null
16
git push > /dev/null
10
git pull --rebase > /dev/null 2>&1
11
git push > /dev/null 2>&1

Formats disponibles : Unified diff