<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git-sonar/git-precheck, branch master</title>
<subtitle>A heads up display for git</subtitle>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/git-sonar/'/>
<entry>
<title>Add git-precheck script</title>
<updated>2026-02-22T23:22:05+00:00</updated>
<author>
<name>Matt Hunter</name>
<email>m@lfurio.us</email>
</author>
<published>2026-02-21T06:52:45+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/git-sonar/commit/?id=0b96dee27bff6276f0f435c52327eecbbd0aa4e5'/>
<id>0b96dee27bff6276f0f435c52327eecbbd0aa4e5</id>
<content type='text'>
This is an alternative entrypoint primarily intended for use in other
scripts.  The purpose of git-precheck is to easily determine the state
of a git repository before going on to perform additional, possibly
disruptive work.

git-precheck tries to cover as many bases as possible - odd cases like
'merge in progress', 'cherry-pick in progress', etc.  By default, we
only exit success (0) if we are in a repo that is completely clean (no
file modifications or untracked files present) and has no ongoing
operation.

Signed-off-by: Matt Hunter &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an alternative entrypoint primarily intended for use in other
scripts.  The purpose of git-precheck is to easily determine the state
of a git repository before going on to perform additional, possibly
disruptive work.

git-precheck tries to cover as many bases as possible - odd cases like
'merge in progress', 'cherry-pick in progress', etc.  By default, we
only exit success (0) if we are in a repo that is completely clean (no
file modifications or untracked files present) and has no ongoing
operation.

Signed-off-by: Matt Hunter &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
</feed>
