<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git-sonar/Makefile, 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>
<entry>
<title>Fix potential installation problems with odd file permissions</title>
<updated>2025-04-13T19:01:18+00:00</updated>
<author>
<name>Matt Hunter</name>
<email>m@lfurio.us</email>
</author>
<published>2025-04-13T19:01:18+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/git-sonar/commit/?id=0695fe20968ff708cfdaadaaa262abb17f02672f'/>
<id>0695fe20968ff708cfdaadaaa262abb17f02672f</id>
<content type='text'>
It is possible for git-sonar to be installed in such a way that it is
only executable by root.  For example, by running `make install` after
checking out the git tree by a user with a restrictive umask value.

Use the install command in the Makefile to explicitly set the correct
mode bits of the installed git-sonar script.

Signed-off-by: Matt Hunter &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is possible for git-sonar to be installed in such a way that it is
only executable by root.  For example, by running `make install` after
checking out the git tree by a user with a restrictive umask value.

Use the install command in the Makefile to explicitly set the correct
mode bits of the installed git-sonar script.

Signed-off-by: Matt Hunter &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite Makefile</title>
<updated>2021-08-02T20:48:24+00:00</updated>
<author>
<name>Malfurious</name>
<email>m@lfurio.us</email>
</author>
<published>2021-08-02T20:48:24+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/git-sonar/commit/?id=4266e06e1c0962715ee98f79675d6a4c459ddeef'/>
<id>4266e06e1c0962715ee98f79675d6a4c459ddeef</id>
<content type='text'>
The Makefile is updated to deal with the single 'git-sonar' file only,
now that the others have been merged into it.

Additionally, several issues have been fixed with the file, including:

        * Now easier to override the PREFIX variable (install location)
        * PWD works properly when running make with sudo
        * Install now default to system-wide
        * bin directory now explicitly created if it doesn't exist

A specific problem corrected by this patch is that `PREFIX=$HOME/.local
make install` on a fresh system will no longer result in the script
being copied to the _regular file_ $HOME/.local/bin, because bin did not
exist.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Makefile is updated to deal with the single 'git-sonar' file only,
now that the others have been merged into it.

Additionally, several issues have been fixed with the file, including:

        * Now easier to override the PREFIX variable (install location)
        * PWD works properly when running make with sudo
        * Install now default to system-wide
        * bin directory now explicitly created if it doesn't exist

A specific problem corrected by this patch is that `PREFIX=$HOME/.local
make install` on a fresh system will no longer result in the script
being copied to the _regular file_ $HOME/.local/bin, because bin did not
exist.

Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update references to project name to git-sonar</title>
<updated>2021-03-24T08:56:02+00:00</updated>
<author>
<name>Malfurious</name>
<email>m@lfurio.us</email>
</author>
<published>2021-03-24T08:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/git-sonar/commit/?id=b3ba62d18900b3f04f13c26480e91ecfc4e49db7'/>
<id>b3ba62d18900b3f04f13c26480e91ecfc4e49db7</id>
<content type='text'>
Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Malfurious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Makefile</title>
<updated>2015-09-01T15:13:17+00:00</updated>
<author>
<name>Max Linke</name>
<email>max_linke@gmx.de</email>
</author>
<published>2015-09-01T09:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/git-sonar/commit/?id=1356a5100c272c77d39a2639ecb5c3d63992990f'/>
<id>1356a5100c272c77d39a2639ecb5c3d63992990f</id>
<content type='text'>
This will make it easier to install the tool. Currently everything
is just copied into the home directory. But nothing works I have
to figure out a little bit how to make this run under Linux.

The develop command can be used for quick iteration cycles.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will make it easier to install the tool. Currently everything
is just copied into the home directory. But nothing works I have
to figure out a little bit how to make this run under Linux.

The develop command can be used for quick iteration cycles.
</pre>
</div>
</content>
</entry>
</feed>
