This file is indexed.

/usr/share/doc/git-cola/html/custom.html is in git-cola 1.9.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Custom GUI Actions &mdash; git-cola 1.9.3 documentation</title>
    
    <link rel="stylesheet" href="static/haiku.css" type="text/css" />
    <link rel="stylesheet" href="static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="_static/print.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '1.9.3',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="static/jquery.js"></script>
    <script type="text/javascript" src="static/underscore.js"></script>
    <script type="text/javascript" src="static/doctools.js"></script>
    <script type="text/javascript" src="_static/theme_extras.js"></script>
    <link rel="top" title="git-cola 1.9.3 documentation" href="index.html" />
    <link rel="next" title="Thanks" href="thanks.html" />
    <link rel="prev" title="Keyboard Shortcuts" href="mainwindow.html" /> 
  </head>
  <body>
      <div class="header"><h1 class="heading"><a href="index.html">
          <span>git-cola 1.9.3 documentation</span></a></h1>
        <h2 class="heading"><span>Custom GUI Actions</span></h2>
      </div>
      <div class="topnav">
      
        <p>
        «&#160;&#160;<a href="mainwindow.html">Keyboard Shortcuts</a>
        &#160;&#160;::&#160;&#160;
        <a class="uplink" href="index.html">Contents</a>
        &#160;&#160;::&#160;&#160;
        <a href="thanks.html">Thanks</a>&#160;&#160;»
        </p>

      </div>
      <div class="content">
        
        
  <div class="section" id="custom-gui-actions">
<h1>Custom GUI Actions<a class="headerlink" href="#custom-gui-actions" title="Permalink to this headline"></a></h1>
<p><cite>git cola</cite> allows you to define custom GUI actions by setting <cite>git config</cite>
variables.  The &#8220;name&#8221; of the command appears in the &#8220;Tools&#8221; menu.</p>
<div class="section" id="guitool-name-cmd">
<h2>guitool.&lt;name&gt;.cmd<a class="headerlink" href="#guitool-name-cmd" title="Permalink to this headline"></a></h2>
<p>Specifies the shell command line to execute when the corresponding item of the
Tools menu is invoked. This option is mandatory for every tool. The command is
executed from the root of the working directory, and in the environment it
receives the name of the tool as GIT_GUITOOL, the name of the currently
selected file as FILENAME, and the name of the current branch as CUR_BRANCH
(if the head is detached, CUR_BRANCH is empty).</p>
</div>
<div class="section" id="guitool-name-needsfile">
<h2>guitool.&lt;name&gt;.needsfile<a class="headerlink" href="#guitool-name-needsfile" title="Permalink to this headline"></a></h2>
<p>Run the tool only if a diff is selected in the GUI. It guarantees that
FILENAME is not empty.</p>
</div>
<div class="section" id="guitool-name-noconsole">
<h2>guitool.&lt;name&gt;.noconsole<a class="headerlink" href="#guitool-name-noconsole" title="Permalink to this headline"></a></h2>
<p>Run the command silently, without creating a window to display its output.</p>
</div>
<div class="section" id="guitool-name-norescan">
<h2>guitool.&lt;name&gt;.norescan<a class="headerlink" href="#guitool-name-norescan" title="Permalink to this headline"></a></h2>
<p>Don’t rescan the working directory for changes after the tool finishes
execution.</p>
</div>
<div class="section" id="guitool-name-confirm">
<h2>guitool.&lt;name&gt;.confirm<a class="headerlink" href="#guitool-name-confirm" title="Permalink to this headline"></a></h2>
<p>Show a confirmation dialog before actually running the tool.</p>
</div>
<div class="section" id="guitool-name-argprompt">
<h2>guitool.&lt;name&gt;.argprompt<a class="headerlink" href="#guitool-name-argprompt" title="Permalink to this headline"></a></h2>
<p>Request a string argument from the user, and pass it to the tool through the
ARGS environment variable. Since requesting an argument implies confirmation,
the confirm option has no effect if this is enabled. If the option is set to
true, yes, or 1, the dialog uses a built-in generic prompt; otherwise the
exact value of the variable is used.</p>
</div>
<div class="section" id="guitool-name-revprompt">
<h2>guitool.&lt;name&gt;.revprompt<a class="headerlink" href="#guitool-name-revprompt" title="Permalink to this headline"></a></h2>
<p>Request a single valid revision from the user, and set the REVISION
environment variable. In other aspects this option is similar to argprompt,
and can be used together with it.</p>
</div>
<div class="section" id="guitool-name-revunmerged">
<h2>guitool.&lt;name&gt;.revunmerged<a class="headerlink" href="#guitool-name-revunmerged" title="Permalink to this headline"></a></h2>
<p>Show only unmerged branches in the revprompt subdialog. This is useful for
tools similar to merge or rebase, but not for things like checkout or reset.</p>
</div>
<div class="section" id="guitool-name-title">
<h2>guitool.&lt;name&gt;.title<a class="headerlink" href="#guitool-name-title" title="Permalink to this headline"></a></h2>
<p>Specifies the title to use for the prompt dialog. The default is the tool
name.</p>
</div>
<div class="section" id="guitool-name-prompt">
<h2>guitool.&lt;name&gt;.prompt<a class="headerlink" href="#guitool-name-prompt" title="Permalink to this headline"></a></h2>
<p>Specifies the general prompt string to display at the top of the dialog,
before subsections for argprompt and revprompt. The default value includes the
actual command.</p>
</div>
</div>


      </div>
      <div class="bottomnav">
      
        <p>
        «&#160;&#160;<a href="mainwindow.html">Keyboard Shortcuts</a>
        &#160;&#160;::&#160;&#160;
        <a class="uplink" href="index.html">Contents</a>
        &#160;&#160;::&#160;&#160;
        <a href="thanks.html">Thanks</a>&#160;&#160;»
        </p>

      </div>

    <div class="footer">
        &copy; Copyright 2007-2012, David Aguilar and contributors.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.
    </div>
  </body>
</html>