Project

General

Profile

Revision 349952e5

Added by Julien Enselme over 9 years ago

git-report.sh: sends no email.

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

View differences:

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

Also available in: Unified diff