diff --git a/Makefile.am b/Makefile.am
index bf32ab3b..28bd5518 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,23 +36,22 @@ src_interdiff_LDADD = lib/libgnu.a @LIBOBJS@
src_filterdiff_LDADD = lib/libgnu.a @LIBOBJS@
src_rediff_LDADD = lib/libgnu.a @LIBOBJS@
-# Manual pages that are simple .so references
-additional_manpages = doc/gitdiff.1 doc/gitdiffview.1 doc/svndiff.1 doc/svndiffview.1
-
if HAVE_XMLTO
# The man pages are generated from DocBook XML.
interdiff_manpage = doc/interdiff.1
other_manpages = doc/filterdiff.1 doc/fixcvsdiff.1 doc/rediff.1 \
doc/editdiff.1 doc/combinediff.1 doc/lsdiff.1 doc/splitdiff.1 \
doc/grepdiff.1 doc/recountdiff.1 doc/unwrapdiff.1 doc/dehtmldiff.1 \
- doc/flipdiff.1 doc/espdiff.1 doc/patchview.1
-man_MANS = $(interdiff_manpage) $(other_manpages) $(additional_manpages)
+ doc/flipdiff.1 doc/espdiff.1 doc/patchview.1 \
+ doc/gitdiff.1 doc/gitdiffview.1 doc/gitshow.1 doc/gitshowview.1 \
+ doc/svndiff.1 doc/svndiffview.1
+man_MANS = $(interdiff_manpage) $(other_manpages)
$(other_manpages): $(interdiff_manpage)
$(interdiff_manpage): doc/patchutils.xml
$(XMLTO) man -o doc $<
else
-man_MANS = $(additional_manpages)
+man_MANS =
endif
# Special rules for combinediff, flipdiff, lsdiff, grepdiff and patchview, which are
diff --git a/doc/gitdiff.1 b/doc/gitdiff.1
deleted file mode 100644
index 7810dd2e..00000000
--- a/doc/gitdiff.1
+++ /dev/null
@@ -1 +0,0 @@
-.so patchview.1
diff --git a/doc/gitdiffview.1 b/doc/gitdiffview.1
deleted file mode 100644
index 7810dd2e..00000000
--- a/doc/gitdiffview.1
+++ /dev/null
@@ -1 +0,0 @@
-.so patchview.1
diff --git a/doc/patchutils.xml b/doc/patchutils.xml
index 21629e61..7d46c788 100644
--- a/doc/patchutils.xml
+++ b/doc/patchutils.xml
@@ -1399,6 +1399,12 @@ done)]]>
patchview
+ gitdiff
+ gitdiffview
+ gitshow
+ gitshowview
+ svndiff
+ svndiffview
Without options, show numbered files modified by the patch. With options, behave as filterdiff.
@@ -1485,7 +1491,7 @@ is equivalent to: lsdiff --number
is equivalent to: filterdiff -F2- (or whatever arguments are supplied)
-There are two scripts for working with git (gitdiff and gitdiffview) and two for svn (svndiff and svndiffview).
+There are 4 scripts for working with git repos (gitdiff, gitdiffview, gitshow and gitshowview) and 2 for svn (svndiff and svndiffview).
svndiff
gitdiff
@@ -1506,6 +1512,10 @@ pipe all patches through filterdiff to vim - -R (in read-only mode, easy to quit
will pipe patch of file #2 to vim - -R
+ gitshowgitshowview
+
+This is the same as gitdiff but uses git show instead of git diff.
+
Options
@@ -1686,7 +1696,7 @@ will pipe patch of file #2 to vim - -R
,
- Verbose output.
+ Verbose output. For the git and svn wrapper scripts (gitdiff, gitdiffview, gitshow, gitshowview, svndiff, svndiffview), this option shows the full command that is being executed.
diff --git a/doc/svndiff.1 b/doc/svndiff.1
deleted file mode 100644
index 7810dd2e..00000000
--- a/doc/svndiff.1
+++ /dev/null
@@ -1 +0,0 @@
-.so patchview.1
diff --git a/doc/svndiffview.1 b/doc/svndiffview.1
deleted file mode 100644
index 7810dd2e..00000000
--- a/doc/svndiffview.1
+++ /dev/null
@@ -1 +0,0 @@
-.so patchview.1