mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 489a2b02b5cbbc334cfc3f89b343d65069a74e9d
parent fa595281e5de8d1842a892fd3deb9b7a4391e927
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue, 27 Sep 2016 00:14:11 +0200

add diffs (untested)

Diffstat:
svn-poll | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/svn-poll b/svn-poll @@ -5,10 +5,9 @@ # once a log has been shown, svn-poll will shut up until $USER commits # or svn-poll-drop is called -# TODO: include svn diff - # after this many failures, complain MAX_ERRORS="100" +DIFF_MAX="10000" URL="$1" USER="$2" @@ -77,6 +76,7 @@ do then # notify the revision svn log -v -r$revision "$URL" + svn diff -c$revision "$URL" | head -n "$DIFF_MAX" touch "$MUTEFILE" fi fi