Browse files

Add documentation for --diff-content-type

  • Loading branch information...
1 parent 29c7a7b commit f353c8fccf54be687b36505cceb8d52c04e9e834 @dpwright dpwright committed Jul 23, 2012
Showing with 9 additions and 0 deletions.
  1. +1 −0 bin/svnnotify
  2. +8 −0 lib/SVN/
@@ -79,6 +79,7 @@ svnnotify - Subversion activity notification
-d --with-diff Include the diff in the message.
-a --attach-diff Attach the diff to the message.
-w --diff-switches SWITCHES Switches to pass to C<svnlook diff>.
+ --diff-content-type TYPE Sets the Content-Type for diff attachments.
-R --reply-to ADDRESS Address for use in the Reply-To header.
--add-header NAME=VALUE Add an extra header to the email.
-P --subject-prefix PREFIX String to prepend to the subject.
@@ -386,6 +386,14 @@ C<--no-diff-added>. And who knows, maybe someday it will support the same
options as C<svn diff>, such as C<--diff-cmd> and C<--extensions>. Only
relevant when used with C<with_diff> or C<attach_diff>.
+=item diff_content_type
+ svnnotify --diff-content-type 'text/x-diff'
+Sets the Content-Type header for attached diffs. The default, if this parameter
+is not passed, is 'text/plain'. This parameter has no effect if '--attach-diff'
+is not specified.
=item reply_to
svnnotify --reply-to

0 comments on commit f353c8f

Please sign in to comment.