<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v2.32.0-rc3</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v2.32.0-rc3</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v2.32.0-rc3'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2021-06-02T03:51:09Z</updated>
<entry>
<title>Git 2.32-rc3</title>
<updated>2021-06-02T03:51:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-06-02T03:51:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c09b6306c6ca275ed9d0348a8c8014b2ff723cfb'/>
<id>urn:sha1:c09b6306c6ca275ed9d0348a8c8014b2ff723cfb</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/completion: fix zsh completion regression from 59d85a2a05</title>
<updated>2021-06-02T03:49:40Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2021-06-01T20:52:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0b18023d000ed8c0851a025fcd4fd518cb2df673'/>
<id>urn:sha1:0b18023d000ed8c0851a025fcd4fd518cb2df673</id>
<content type='text'>
A recent change to make git-completion.bash use $__git_cmd_idx
in more places broke a number of completions on zsh because it
modified __git_main but did not update __git_zsh_main.

Notably, completions for "add", "branch", "mv" and "push" were
broken as a result of this change.

In addition to the undefined variable usage, "git mv &lt;tab&gt;" also
prints the following error:

	__git_count_arguments:7: bad math expression:
	operand expected at `"1"'

	_git_mv:[:7: unknown condition: -gt

Remove the quotes around $__git_cmd_idx in __git_count_arguments
and set __git_cmd_idx=1 early in __git_zsh_main to fix the
regressions from 59d85a2a05.

This was tested on zsh 5.7.1 (x86_64-apple-darwin19.0).

Suggested-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Acked-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/fsck-api-cleanup'</title>
<updated>2021-06-01T22:34:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-06-01T22:34:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ed125c4f07ba69c53c9f4d74ff395a4bf7854ea7'/>
<id>urn:sha1:ed125c4f07ba69c53c9f4d74ff395a4bf7854ea7</id>
<content type='text'>
Last minute compilation fix.

* ab/fsck-api-cleanup:
  builtin/fsck.c: don't conflate "int" and "enum" in callback
</content>
</entry>
<entry>
<title>builtin/fsck.c: don't conflate "int" and "enum" in callback</title>
<updated>2021-06-01T20:59:15Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-06-01T00:05:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=28abf260a52b2fb79342d5010e921602e078149f'/>
<id>urn:sha1:28abf260a52b2fb79342d5010e921602e078149f</id>
<content type='text'>
Fix a warning on AIX's xlc compiler that's been emitted since my
a1aad71601a (fsck.h: use "enum object_type" instead of "int",
2021-03-28):

    "builtin/fsck.c", line 805.32: 1506-068 (W) Operation between
    types "int(*)(struct object*,enum object_type,void*,struct
    fsck_options*)" and "int(*)(struct object*,int,void*,struct
    fsck_options*)" is not allowed.

I.e. it complains about us assigning a function with a prototype "int"
where we're expecting "enum object_type".

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Git 2.32-rc2</title>
<updated>2021-05-28T04:05:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-28T04:05:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4e42405f00ecbbee412846f48cb0253efeebe726'/>
<id>urn:sha1:4e42405f00ecbbee412846f48cb0253efeebe726</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'en/dir-traversal'</title>
<updated>2021-05-28T04:03:00Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-28T04:03:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=329d63e7be044524d29dcb43e8ed52bc1f3b9241'/>
<id>urn:sha1:329d63e7be044524d29dcb43e8ed52bc1f3b9241</id>
<content type='text'>
Fix-up to a topic that is already in 'master'.

* en/dir-traversal:
  dir: introduce readdir_skip_dot_and_dotdot() helper
  dir: update stale description of treat_directory()
  Revert "dir: update stale description of treat_directory()"
  Revert "dir: introduce readdir_skip_dot_and_dotdot() helper"
</content>
</entry>
<entry>
<title>dir: introduce readdir_skip_dot_and_dotdot() helper</title>
<updated>2021-05-27T05:02:37Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2021-05-27T04:53:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=906fc557b70b2b2995785c9b37e212d2f86b469e'/>
<id>urn:sha1:906fc557b70b2b2995785c9b37e212d2f86b469e</id>
<content type='text'>
Many places in the code were doing
    while ((d = readdir(dir)) != NULL) {
        if (is_dot_or_dotdot(d-&gt;d_name))
            continue;
        ...process d...
    }
Introduce a readdir_skip_dot_and_dotdot() helper to make that a one-liner:
    while ((d = readdir_skip_dot_and_dotdot(dir)) != NULL) {
        ...process d...
    }

This helper particularly simplifies checks for empty directories.

Also use this helper in read_cached_dir() so that our statistics are
consistent across platforms.  (In other words, read_cached_dir() should
have been using is_dot_or_dotdot() and skipping such entries, but did
not and left it to treat_path() to detect and mark such entries as
path_none.)

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>dir: update stale description of treat_directory()</title>
<updated>2021-05-27T05:02:37Z</updated>
<author>
<name>Derrick Stolee</name>
<email>stolee@gmail.com</email>
</author>
<published>2021-05-27T04:53:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=eef814828f175290ca1fcd17ad74faff95346c85'/>
<id>urn:sha1:eef814828f175290ca1fcd17ad74faff95346c85</id>
<content type='text'>
The documentation comment for treat_directory() was originally written
in 095952 (Teach directory traversal about subprojects, 2007-04-11)
which was before the 'struct dir_struct' split its bitfield of named
options into a 'flags' enum in 7c4c97c0 (Turn the flags in struct
dir_struct into a single variable, 2009-02-16). When those flags
changed, the comment became stale, since members like
'show_other_directories' transitioned into flags like
DIR_SHOW_OTHER_DIRECTORIES.

Update the comments for treat_directory() to use these flag names rather
than the old member names.

Signed-off-by: Derrick Stolee &lt;dstolee@microsoft.com&gt;
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "dir: update stale description of treat_directory()"</title>
<updated>2021-05-27T05:02:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-27T05:00:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=2c9f1bfdb47acde21052bb33ff083347cbcb574d'/>
<id>urn:sha1:2c9f1bfdb47acde21052bb33ff083347cbcb574d</id>
<content type='text'>
This reverts commit 4e689d81718eb6e939cace317ea3e33cb994dcbb,
to be replaced with a reworked version.
</content>
</entry>
<entry>
<title>Revert "dir: introduce readdir_skip_dot_and_dotdot() helper"</title>
<updated>2021-05-27T05:02:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-05-27T04:59:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=1df046bcff6085f3800088c51e344594f822df57'/>
<id>urn:sha1:1df046bcff6085f3800088c51e344594f822df57</id>
<content type='text'>
This reverts commit b548f0f1568f6b01e55ca69c24d3cb19489f92aa,
to be replaced with a reworked version.
</content>
</entry>
</feed>
