<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/MyFirstObjectWalk.adoc, branch jch</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=jch</id>
<link rel='self' href='https://git.shady.money/git/atom?h=jch'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-06-25T21:07:35Z</updated>
<entry>
<title>Merge branch 'jc/you-still-use-whatchanged'</title>
<updated>2025-06-25T21:07:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-06-25T21:07:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a5cc6a2bc526f5ffb427f8d8bb987af6e591c4e4'/>
<id>urn:sha1:a5cc6a2bc526f5ffb427f8d8bb987af6e591c4e4</id>
<content type='text'>
"git whatchanged" that is longer to type than "git log --raw"
which is its modern rough equivalent has outlived its usefulness
more than 10 years ago.  Plan to deprecate and remove it.

* jc/you-still-use-whatchanged:
  whatschanged: list it in BreakingChanges document
  whatchanged: remove when built with WITH_BREAKING_CHANGES
  whatchanged: require --i-still-use-this
  tests: prepare for a world without whatchanged
  doc: prepare for a world without whatchanged
  you-still-use-that??: help deprecating commands for removal
</content>
</entry>
<entry>
<title>MyFirstContribution: add walken.c to meson.build</title>
<updated>2025-06-03T00:28:52Z</updated>
<author>
<name>Lucas Seiki Oshiro</name>
<email>lucasseikioshiro@gmail.com</email>
</author>
<published>2025-06-02T20:50:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b257adb571c0c185c88293eb3f7e2d5f8808b23c'/>
<id>urn:sha1:b257adb571c0c185c88293eb3f7e2d5f8808b23c</id>
<content type='text'>
Instruct in the documentation to also add an entry in meson.build for
builtin/walken.c, as currently both Meson and Make are supported.

Helped-by: Karthik Nayak &lt;karthik.188@gmail.com&gt;
Helped-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Lucas Seiki Oshiro &lt;lucasseikioshiro@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MyFirstContribution: use struct repository in examples</title>
<updated>2025-06-03T00:28:52Z</updated>
<author>
<name>Lucas Seiki Oshiro</name>
<email>lucasseikioshiro@gmail.com</email>
</author>
<published>2025-06-02T20:50:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=08c3aaf5bad99128a8bfb451bf7b56c447ad5e86'/>
<id>urn:sha1:08c3aaf5bad99128a8bfb451bf7b56c447ad5e86</id>
<content type='text'>
Add the parameter `struct repository *repo` to the cmd_walken function.

Since commit 9b1cb5070f (builtin: add a repository parameter for
builtin functions, 2024-09-13), all the cmd_* have the `repo` parameter
and new commands must follow this convention, so the documentation
should also be changed.

Change the `git_config` calls to `repo_config`, also passing the `repo`
parameter, as since 036876a106 (config: hide functions using
`the_repository` by default, 2024-08-13) the non-repo config functions
are no longer recommended as they use the global `repository` variable.

Helped-by: Karthik Nayak &lt;karthik.188@gmail.com&gt;
Signed-off-by: Lucas Seiki Oshiro &lt;lucasseikioshiro@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: prepare for a world without whatchanged</title>
<updated>2025-05-12T20:11:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-05-12T19:03:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba69a6c66d6b349f730bdb3b9e44c3b49dd53e91'/>
<id>urn:sha1:ba69a6c66d6b349f730bdb3b9e44c3b49dd53e91</id>
<content type='text'>
Some documentation examples reference "whatchanged", either as a
placeholder command or an example of source structure.

To reduce the need for future edits when `whatchanged` is removed,
replace these references with alternatives:

 - In `MyFirstObjectWalk.adoc`, use `version` as the nearby anchor
   point for `walken`, instead of `whatchanged`.

 - In `user-manual.adoc`, cite `show` instead of `whatchanged` as
   a command whose source lives in the same file as `log`.

Helped-by: Elijah Newren &lt;newren@gmail.com&gt;
[en: log message]
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: add a blank line around block delimiters</title>
<updated>2025-03-10T16:58:06Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2025-03-09T19:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=227c4f33a0351d12b04660a9f03ca96dbab1310a'/>
<id>urn:sha1:227c4f33a0351d12b04660a9f03ca96dbab1310a</id>
<content type='text'>
The documentation is using the historical mode for titles, which is a
setext-style (i.e., two-line) section title.

The issue with this mode is that starting block delimiters (e.g.,
`----`) can be confused with a section title when they are exactly the
same length as the preceding line. In the original documentation, this
is taken care of for English by the writer, but it is not the case for
translations where these delimiters are hidden. A translator can
generate a line that is exactly the same length as the following block
delimiter, which leads to this line being considered as a title.

To safeguard against this issue, add a blank line before and after
block delimiters where block is at root level, else add a "+" line
before block delimiters to link it to the preceding paragraph.

Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MyFirstObjectWalk: *.txt -&gt; *.adoc fixes</title>
<updated>2025-03-03T21:49:20Z</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2025-03-03T20:44:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ac2c61b550eb801d3acab1aa68f52379f9ad33b'/>
<id>urn:sha1:5ac2c61b550eb801d3acab1aa68f52379f9ad33b</id>
<content type='text'>
Signed-off-by: Todd Zullinger &lt;tmz@pobox.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: use .adoc extension for AsciiDoc files</title>
<updated>2025-01-21T20:56:06Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2025-01-20T01:56:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1f010d6bdf756129db13d1367c888aa4153f6d87'/>
<id>urn:sha1:1f010d6bdf756129db13d1367c888aa4153f6d87</id>
<content type='text'>
We presently use the ".txt" extension for our AsciiDoc files.  While not
wrong, most editors do not associate this extension with AsciiDoc,
meaning that contributors don't get automatic editor functionality that
could be useful, such as syntax highlighting and prose linting.

It is much more common to use the ".adoc" extension for AsciiDoc files,
since this helps editors automatically detect files and also allows
various forges to provide rich (HTML-like) rendering.  Let's do that
here, renaming all of the files and updating the includes where
relevant.  Adjust the various build scripts and makefiles to use the new
extension as well.

Note that this should not result in any user-visible changes to the
documentation.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
