author | Thomas Rast <trast@student.ethz.ch> | |
Tue, 20 Dec 2011 21:42:39 +0000 (22:42 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Dec 2011 22:01:41 +0000 (14:01 -0800) | ||
commit | d577cd216e0adb9cbc726dddd1a0858b4ab4e6e3 | |
tree | 766be5bc433c73217293abefb1a39c4891f9a911 | tree | snapshot |
parent | 92c62a3f4f93432c0c82e3031a9e64e03ba290f7 | commit | diff |
git-sh-setup: make require_clean_work_tree part of the interface
92c62a3 (Porcelain scripts: Rewrite cryptic "needs update" error
message, 2010-10-19) refactored git's own checking to a function in
git-sh-setup. This is a very useful thing for script writers, so
document it.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
92c62a3 (Porcelain scripts: Rewrite cryptic "needs update" error
message, 2010-10-19) refactored git's own checking to a function in
git-sh-setup. This is a very useful thing for script writers, so
document it.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-sh-setup.txt | diff | blob | history |