Commit Diff


commit - 35e68d6bdc7d5ad92b10f61bd395294e186df794
commit + ec51d4a3d8c89754349e906827f09f5fb7861095
blob - 6738b06054723572103733b4c23fe53f2bcd30c9
blob + 91780049233ec126d75094ed6eb4d157077a1460
--- git-repository.5.html
+++ git-repository.5.html
@@ -207,7 +207,7 @@
 </div>
 <table class="foot">
   <tr>
-    <td class="foot-date">April 25, 2020</td>
+    <td class="foot-date">May 5, 2020</td>
     <td class="foot-os">OpenBSD 6.6</td>
   </tr>
 </table>
blob - 125a7b51bdb9292155ecd92c9e016cd4ba8384ba
blob + c96a3b6b2a69633e19dfbcb61991f2302fc09aee
--- got-worktree.5.html
+++ got-worktree.5.html
@@ -174,7 +174,7 @@
 </div>
 <table class="foot">
   <tr>
-    <td class="foot-date">April 25, 2020</td>
+    <td class="foot-date">May 5, 2020</td>
     <td class="foot-os">OpenBSD 6.6</td>
   </tr>
 </table>
blob - c9dfe73cd14c1656694b740752e6aa570801a37e
blob + 0e6883a20a149c898bb9d3d28ae22cd7a2f80613
--- got.1.html
+++ got.1.html
@@ -617,10 +617,11 @@
     <var class="Ar">commit</var>] [<code class="Fl">-C</code>
     <var class="Ar">number</var>] [<code class="Fl">-l</code>
     <var class="Ar">N</var>] [<code class="Fl">-p</code>]
-    [<code class="Fl">-s</code> <var class="Ar">search-pattern</var>]
-    [<code class="Fl">-r</code> <var class="Ar">repository-path</var>]
-    [<code class="Fl">-R</code>] [<code class="Fl">-x</code>
-    <var class="Ar">commit</var>] [<var class="Ar">path</var>]</dt>
+    [<code class="Fl">-P</code>] [<code class="Fl">-s</code>
+    <var class="Ar">search-pattern</var>] [<code class="Fl">-r</code>
+    <var class="Ar">repository-path</var>] [<code class="Fl">-R</code>]
+    [<code class="Fl">-x</code> <var class="Ar">commit</var>]
+    [<var class="Ar">path</var>]</dt>
   <dd>Display history of a repository. If a <var class="Ar">path</var> is
       specified, show only commits which modified this path. If invoked in a
       work tree, the <var class="Ar">path</var> is interpreted relative to the
@@ -660,12 +661,35 @@
       <dd>Display the patch of modifications made in each commit. If a
           <var class="Ar">path</var> is specified, only show the patch of
           modifications at or within this path.</dd>
+      <dt><a class="permalink" href="#P"><code class="Fl" id="P">-P</code></a></dt>
+      <dd>Display the list of file paths changed in each commit, using the
+          following status codes:
+        <table class="Bl-column">
+          <tr>
+            <td>M</td>
+            <td>modified file</td>
+          </tr>
+          <tr>
+            <td>D</td>
+            <td>file was deleted</td>
+          </tr>
+          <tr>
+            <td>A</td>
+            <td>new file was added</td>
+          </tr>
+          <tr>
+            <td>m</td>
+            <td>modified file modes (executable bit only)</td>
+          </tr>
+        </table>
+      </dd>
       <dt><a class="permalink" href="#s"><code class="Fl" id="s">-s</code></a>
         <var class="Ar">search-pattern</var></dt>
       <dd>If specified, show only commits with a log message matched by the
-          extended regular expression <var class="Ar">search-pattern</var>.
-          Regular expression syntax is documented in
-          <a class="Xr">re_format(7)</a>.</dd>
+          extended regular expression <var class="Ar">search-pattern</var>. When
+          used together with <code class="Fl">-P</code> then the file paths
+          changed by a commit can be matched as well. Regular expression syntax
+          is documented in <a class="Xr">re_format(7)</a>.</dd>
       <dt><a class="permalink" href="#r_3"><code class="Fl" id="r_3">-r</code></a>
         <var class="Ar">repository-path</var></dt>
       <dd>Use the repository at the specified path. If not specified, assume the
@@ -1712,7 +1736,7 @@
           repository is located at or above the current working directory. If
           this directory is a <code class="Nm">got</code> work tree, use the
           repository path associated with this work tree.</dd>
-      <dt><a class="permalink" href="#P"><code class="Fl" id="P">-P</code></a></dt>
+      <dt><a class="permalink" href="#P_2"><code class="Fl" id="P_2">-P</code></a></dt>
       <dd>Interpret all arguments as paths only. This option can be used to
           resolve ambiguity in cases where paths look like tag names, reference
           names, or object IDs.</dd>
@@ -2019,7 +2043,7 @@
 </div>
 <table class="foot">
   <tr>
-    <td class="foot-date">April 25, 2020</td>
+    <td class="foot-date">May 5, 2020</td>
     <td class="foot-os">OpenBSD 6.6</td>
   </tr>
 </table>
blob - b2fe5bb8d9b51879ee21dfbe2ab449a142374190
blob + 4bafa2e8e8a942eb273f9cb4f529af5883ff06c9
--- gotweb.8.html
+++ gotweb.8.html
@@ -157,7 +157,7 @@
 </div>
 <table class="foot">
   <tr>
-    <td class="foot-date">April 25, 2020</td>
+    <td class="foot-date">May 5, 2020</td>
     <td class="foot-os">OpenBSD 6.6</td>
   </tr>
 </table>
blob - 0ae9ee701f1bcda0d4ed91a1e4b798356e416a4c
blob + 3bdbf126d6e02a5167d5d70397275d3981a2ed91
--- gotweb.conf.5.html
+++ gotweb.conf.5.html
@@ -170,7 +170,7 @@ got_logo_url			&quot;https://gameoftrees.org&quot;
 </div>
 <table class="foot">
   <tr>
-    <td class="foot-date">April 25, 2020</td>
+    <td class="foot-date">May 5, 2020</td>
     <td class="foot-os">OpenBSD 6.6</td>
   </tr>
 </table>
blob - 630429f58f8925dac7dd3c2cc80ce9c2f7469022
blob + b8fbc18ccb321b780dc60abd12db7fdcd0899665
--- tog.1.html
+++ tog.1.html
@@ -460,7 +460,7 @@
 </div>
 <table class="foot">
   <tr>
-    <td class="foot-date">April 25, 2020</td>
+    <td class="foot-date">May 5, 2020</td>
     <td class="foot-os">OpenBSD 6.6</td>
   </tr>
 </table>