summaryrefslogtreecommitdiffstats
path: root/git-sh-setup.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-03 16:22:37 -0800
committerJunio C Hamano <gitster@pobox.com>2012-01-03 16:22:37 -0800
commitdb472bc17bfef8588e1a8f6ce873e5c6f4fa384a (patch)
tree2ec72b39a55b4e44bfabb02d164fe298999e8aef /git-sh-setup.html
parent962f3a392a5b5c3f552a403dcc58d9f1eae2a930 (diff)
downloadgit-htmldocs-db472bc17bfef8588e1a8f6ce873e5c6f4fa384a.tar.gz
Autogenerated HTML docs for v1.7.8.2-321-g4570a
Diffstat (limited to 'git-sh-setup.html')
-rw-r--r--git-sh-setup.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/git-sh-setup.html b/git-sh-setup.html
index f44e156f7..afe04958f 100644
--- a/git-sh-setup.html
+++ b/git-sh-setup.html
@@ -682,6 +682,21 @@ require_work_tree_exists
</p>
</dd>
<dt class="hdlist1">
+require_clean_work_tree &lt;action&gt; [&lt;hint&gt;]
+</dt>
+<dd>
+<p>
+ checks that the working tree and index associated with the
+ repository have no uncommitted changes to tracked files.
+ Otherwise it emits an error message of the form <tt>Cannot
+ &lt;action&gt;: &lt;reason&gt;. &lt;hint&gt;</tt>, and dies. Example:
+</p>
+<div class="listingblock">
+<div class="content">
+<pre><tt>require_clean_work_tree rebase "Please commit or stash them."</tt></pre>
+</div></div>
+</dd>
+<dt class="hdlist1">
get_author_ident_from_commit
</dt>
<dd>
@@ -700,7 +715,7 @@ get_author_ident_from_commit
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-11-15 13:45:02 PDT
+Last updated 2012-01-03 16:22:22 PDT
</div>
</div>
</body>