tags 1107891 + patch
thanks

Please consider the attached manpage for inclusion in the dunk package.

Greetings,

  – Gunnar.

diff --git a/debian/dunk.1 b/debian/dunk.1
new file mode 100644
index 0000000..9054cc7
--- /dev/null
+++ b/debian/dunk.1
@@ -0,0 +1,60 @@
+.TH dunk 1
+.SH NAME
+dunk - an alternative diff view for Git that is pretty and colorful
+.SH SYNOPSIS
+Dunk is meant to be used as a filter, receiving the output from
+.B git diff
+as its STDIN:
+
+.PP
+.nf
+.RS
+.B git diff | dunk
+.RE
+.fi
+.PP
+Will present a two-column, syntax-highlighted view of the differences with
+the Git index in the current directory.
+
+.SH EXAMPLES
+
+Given
+.B dunk
+works as a filter, you can specify options to
+.B git diff
+and
+.B dunk
+will work with whatever output it produces:
+
+Dunk will work with commit ranges or specifying files or directories in
+your Git repository, as follows:
+.PP
+.nf
+.RS
+.B git diff HEAD~.. | dunk
+.RE
+.fi
+.PP
+Will present the differences between the immediately past revision to the
+current one
+
+You can also specify specific files within the repository to report:
+.PP
+.nf
+.RS
+.B git diff README | dunk
+.RE
+.fi
+.PP
+Will only report the differences in the README file.
+
+For further examples, refer to the syntax of
+.B git diff;
+dunk will work on its produced output.
+
+.SH SEE ALSO
+
+.BR git-diff (1).
+
+.SH AUTHOR
+This manpage is written by Gunnar Wolf ([email protected])
diff --git a/debian/dunk.manpages b/debian/dunk.manpages
new file mode 100644
index 0000000..3055ea1
--- /dev/null
+++ b/debian/dunk.manpages
@@ -0,0 +1 @@
+debian/dunk.1

Attachment: signature.asc
Description: PGP signature

Reply via email to