Révision 7a9b0982
Ajouté par Florent Torregrosa il y a plus de 10 ans
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 -n 1 --pretty=format:"######## %s ########%nDate: %ai%nby %cn %n"`
|
|
10 |
git_log=`git log -p --since="yesterday" --pretty=format:"########## %s ###########"`
|
|
11 | 11 |
if [ -n "$git_log" ] ; then |
12 |
echo $git_log | mail -s "[git] Report" $email_multi_assos
|
|
12 |
echo "$git_log" | mail -s "[git] Report" $email_multi_assos
|
|
13 | 13 |
fi |
14 | 14 |
|
15 | 15 |
git pull --rebase > /dev/null |
Formats disponibles : Unified diff
Trying to have a better git report.