<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/setup.c, branch v2.17.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.17.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.17.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-02-27T18:33:58Z</updated>
<entry>
<title>Merge branch 'as/ll-i18n'</title>
<updated>2018-02-27T18:33:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-02-27T18:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d4053966ea71a9f6460419fd68db912bda91ff85'/>
<id>urn:sha1:d4053966ea71a9f6460419fd68db912bda91ff85</id>
<content type='text'>
Some messages in low level start-up codepath have been i18n-ized.

* as/ll-i18n:
  Mark messages for translations
</content>
</entry>
<entry>
<title>Merge branch 'jh/fsck-promisors'</title>
<updated>2018-02-13T21:39:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-02-13T21:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f3d618d2bf4099abe99babc8b56dcd483c5eec71'/>
<id>urn:sha1:f3d618d2bf4099abe99babc8b56dcd483c5eec71</id>
<content type='text'>
In preparation for implementing narrow/partial clone, the machinery
for checking object connectivity used by gc and fsck has been
taught that a missing object is OK when it is referenced by a
packfile specially marked as coming from trusted repository that
promises to make them available on-demand and lazily.

* jh/fsck-promisors:
  gc: do not repack promisor packfiles
  rev-list: support termination at promisor objects
  sha1_file: support lazily fetching missing objects
  introduce fetch-object: fetch one promisor object
  index-pack: refactor writing of .keep files
  fsck: support promisor objects as CLI argument
  fsck: support referenced promisor objects
  fsck: support refs pointing to promisor objects
  fsck: introduce partialclone extension
  extension.partialclone: introduce partial clone extension
</content>
</entry>
<entry>
<title>Mark messages for translations</title>
<updated>2018-02-13T18:59:58Z</updated>
<author>
<name>Alexander Shopov</name>
<email>ash@kambanaria.org</email>
</author>
<published>2018-02-13T13:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fc045fe7d4fa220f19274715c936636fe0516ea3'/>
<id>urn:sha1:fc045fe7d4fa220f19274715c936636fe0516ea3</id>
<content type='text'>
Small changes in messages to fit the style and typography of rest.
Reuse already translated messages if possible.
Do not translate messages aimed at developers of git.
Fix unit tests depending on the original string.
Use `test_i18ngrep` for tests with translatable strings.
Change and verify rest of tests via `make GETTEXT_POISON=1 test`.

Signed-off-by: Alexander Shopov &lt;ash@kambanaria.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sg/setup-doc-update'</title>
<updated>2017-12-19T19:33:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-19T19:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bdae4af87053490adad2dc9fb184d6d050d46a4c'/>
<id>urn:sha1:bdae4af87053490adad2dc9fb184d6d050d46a4c</id>
<content type='text'>
Comment update.

* sg/setup-doc-update:
  setup.c: fix comment about order of .git directory discovery
</content>
</entry>
<entry>
<title>setup.c: fix comment about order of .git directory discovery</title>
<updated>2017-12-07T16:09:06Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder.dev@gmail.com</email>
</author>
<published>2017-12-07T08:59:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=176b2d328ccc305aa2e565c39ad7b0fb24099275'/>
<id>urn:sha1:176b2d328ccc305aa2e565c39ad7b0fb24099275</id>
<content type='text'>
Since gitfiles were introduced in b44ebb19e (Add platform-independent
.git "symlink", 2008-02-20) the order of checks during .git directory
discovery is: gitfile, gitdir, bare repo.  However, that commit did
only partially update the in-code comment describing this order,
missing the last line which still puts gitdir before gitfile.

Signed-off-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>extension.partialclone: introduce partial clone extension</title>
<updated>2017-12-05T17:46:05Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-12-05T16:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=75b97fec171dbbf7ec73960cefb50c265cfb7af7'/>
<id>urn:sha1:75b97fec171dbbf7ec73960cefb50c265cfb7af7</id>
<content type='text'>
Introduce new repository extension option:
    `extensions.partialclone`

See the update to Documentation/technical/repository-version.txt
in this patch for more information.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Integrate hash algorithm support with repo setup</title>
<updated>2017-11-13T04:20:44Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-11-12T21:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=78a6766802ef32b82e6062e8e6ac5621894cc4a2'/>
<id>urn:sha1:78a6766802ef32b82e6062e8e6ac5621894cc4a2</id>
<content type='text'>
In future versions of Git, we plan to support an additional hash
algorithm.  Integrate the enumeration of hash algorithms with repository
setup, and store a pointer to the enumerated data in struct repository.
Of course, we currently only support SHA-1, so hard-code this value in
read_repository_format.  In the future, we'll enumerate this value from
the configuration.

Add a constant, the_hash_algo, which points to the hash_algo structure
pointer in the repository global.  Note that this is the hash which is
used to serialize data to disk, not the hash which is used to display
items to the user.  The transition plan anticipates that these may be
different.  We can add an additional element in the future (say,
ui_hash_algo) to provide for this case.

Include repository.h in cache.h since we now need to have access to
these struct and variable definitions.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>setup: expose enumerated repo info</title>
<updated>2017-11-13T04:20:44Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-11-12T21:28:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=abade65b79bdf505603b3699a2f9de75b318aa6e'/>
<id>urn:sha1:abade65b79bdf505603b3699a2f9de75b318aa6e</id>
<content type='text'>
We enumerate several different items as part of struct
repository_format, but then actually set up those values using the
global variables we've initialized from them.  Instead, let's pass a
pointer to the structure down to the code where we enumerate these
values, so we can later on use those values directly to perform setup.

This technique makes it easier for us to determine additional items
about the repository format (such as the hash algorithm) and then use
them for setup later on, without needing to add additional global
variables.  We can't avoid using the existing global variables since
they're intricately intertwined with how things work at the moment, but
this improves things for the future.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/early-config'</title>
<updated>2017-11-09T05:31:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-11-09T05:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=57dd3dd28724a150e6c6d4c1c8363e1efd49c197'/>
<id>urn:sha1:57dd3dd28724a150e6c6d4c1c8363e1efd49c197</id>
<content type='text'>
Correct start-up sequence so that a repository could be placed
immediately under the root directory again (which was broken at
around Git 2.13).

* js/early-config:
  setup: avoid double slashes when looking for HEAD
</content>
</entry>
<entry>
<title>setup: avoid double slashes when looking for HEAD</title>
<updated>2017-11-03T14:02:25Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-11-03T12:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fa4d8c783d780191d98fe1f68ad2dea2fe78d19c'/>
<id>urn:sha1:fa4d8c783d780191d98fe1f68ad2dea2fe78d19c</id>
<content type='text'>
Andrew Baumann reported that when called outside of any Git worktree,
`git rev-parse --is-inside-work-tree` eventually tries to access
`//HEAD`, i.e.  any `HEAD` file in the root directory, but with a double
slash.

This double slash is not only unintentional, but is allowed by the POSIX
standard to have a special meaning. And most notably on Windows, it
does, where it refers to a UNC path of the form `//server/share/`.

As a consequence, afore-mentioned `rev-parse` call not only looks for
the wrong thing, but it also causes serious delays, as Windows will try
to access a server called `HEAD`.  Let's simply avoid the unintended
double slash.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Acked-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
