<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/diff-highlight/Makefile, branch main</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=main</id>
<link rel='self' href='https://git.shady.money/git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-02-18T17:02:26Z</updated>
<entry>
<title>Makefile: set default goals in makefiles</title>
<updated>2025-02-18T17:02:26Z</updated>
<author>
<name>Adam Dinwoodie</name>
<email>adam@dinwoodie.org</email>
</author>
<published>2025-02-15T21:19:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5309c1e9fb399c390ed36ef476e91f76f6746fa9'/>
<id>urn:sha1:5309c1e9fb399c390ed36ef476e91f76f6746fa9</id>
<content type='text'>
Explicitly set the default goal at the very top of various makefiles.
This is already present in some makefiles, but not all of them.

In particular, this corrects a regression introduced in a38edab7c8
(Makefile: generate doc versions via GIT-VERSION-GEN, 2024-12-06).  That
commit added some config files as build targets for the Documentation
directory, and put the target configuration in a sensible place.
Unfortunately, that sensible place was above any other build target
definitions, meaning the default goal changed to being those
configuration files only, rather than the HTML and man page
documentation.

Signed-off-by: Adam Dinwoodie &lt;adam@dinwoodie.org&gt;
Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Acked-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff-highlight: add clean target to Makefile</title>
<updated>2017-09-06T03:56:26Z</updated>
<author>
<name>Daniel Watkins</name>
<email>daniel@daniel-watkins.co.uk</email>
</author>
<published>2017-08-29T11:23:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=74f1bd912be9a6c72a2fe23a3a336dec66f29d83'/>
<id>urn:sha1:74f1bd912be9a6c72a2fe23a3a336dec66f29d83</id>
<content type='text'>
Now that `make` produces a file, we should have a clean target to remove
it.

Signed-off-by: Daniel Watkins &lt;daniel@daniel-watkins.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff-highlight: split code into module</title>
<updated>2017-06-15T19:15:58Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-06-15T16:30:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0c977dbc8180892af42d7ab9235fd3e51d6c4078'/>
<id>urn:sha1:0c977dbc8180892af42d7ab9235fd3e51d6c4078</id>
<content type='text'>
The diff-so-fancy project is also written in perl, and most
of its users pipe diffs through both diff-highlight and
diff-so-fancy. It would be nice if this could be done in a
single script. So let's pull most of diff-highlight's code
into its own module which can be used by diff-so-fancy.

In addition, we'll abstract a few basic items like reading
from stdio so that a script using the module can do more
processing before or after diff-highlight handles the lines.
See the README update for more details.

One small downside is that the diff-highlight script must
now be built using the Makefile. There are ways around this,
but it quickly gets into perl arcana. Let's go with the
simple solution. As a bonus, our Makefile now respects the
PERL_PATH variable if it is set.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff-highlight: add some tests</title>
<updated>2016-08-29T19:18:50Z</updated>
<author>
<name>Brian Henderson</name>
<email>henderson.bj@gmail.com</email>
</author>
<published>2016-08-29T17:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=23b250ab0f041bba7af4ba8eb1a686f6850677a6'/>
<id>urn:sha1:23b250ab0f041bba7af4ba8eb1a686f6850677a6</id>
<content type='text'>
Signed-off-by: Brian Henderson &lt;henderson.bj@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
