<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/git.git, branch js/normalize-path-copy-ceil</title>
<subtitle>github.com: git/git.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/'/>
<entry>
<title>normalize_path_copy(): fix pushing to //server/share/dir on Windows</title>
<updated>2016-12-16T21:10:43+00:00</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2016-12-14T19:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=7814fbe3f1e7cea1a675408df7b5dd1f5be731cc'/>
<id>7814fbe3f1e7cea1a675408df7b5dd1f5be731cc</id>
<content type='text'>
normalize_path_copy() is not prepared to keep the double-slash of a
//server/share/dir kind of path, but treats it like a regular POSIX
style path and transforms it to /server/share/dir.

The bug manifests when 'git push //server/share/dir master' is run,
because tmp_objdir_add_as_alternate() uses the path in normalized
form when it registers the quarantine object database via
link_alt_odb_entries(). Needless to say that the directory cannot be
accessed using the wrongly normalized path.

Fix it by skipping all of the root part, not just a potential drive
prefix. offset_1st_component takes care of this, see the
implementation in compat/mingw.c::mingw_offset_1st_component().

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
normalize_path_copy() is not prepared to keep the double-slash of a
//server/share/dir kind of path, but treats it like a regular POSIX
style path and transforms it to /server/share/dir.

The bug manifests when 'git push //server/share/dir master' is run,
because tmp_objdir_add_as_alternate() uses the path in normalized
form when it registers the quarantine object database via
link_alt_odb_entries(). Needless to say that the directory cannot be
accessed using the wrongly normalized path.

Fix it by skipping all of the root part, not just a potential drive
prefix. offset_1st_component takes care of this, see the
implementation in compat/mingw.c::mingw_offset_1st_component().

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for 2.9.4</title>
<updated>2016-09-09T04:37:59+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:37:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=0202c411edc25940cc381bf317badcdf67670be4'/>
<id>0202c411edc25940cc381bf317badcdf67670be4</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'hv/doc-commit-reference-style' into maint</title>
<updated>2016-09-09T04:36:03+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:36:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=3e8e69a695746facc1fca6f761b4c5bf97761a49'/>
<id>3e8e69a695746facc1fca6f761b4c5bf97761a49</id>
<content type='text'>
A small doc update.

* hv/doc-commit-reference-style:
  SubmittingPatches: use gitk's "Copy commit summary" format
  SubmittingPatches: document how to reference previous commits
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A small doc update.

* hv/doc-commit-reference-style:
  SubmittingPatches: use gitk's "Copy commit summary" format
  SubmittingPatches: document how to reference previous commits
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sg/reflog-past-root' into maint</title>
<updated>2016-09-09T04:36:02+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:36:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=b5abd302ef0e3e371a4a7fb3c5d1e0415a1fa5ed'/>
<id>b5abd302ef0e3e371a4a7fb3c5d1e0415a1fa5ed</id>
<content type='text'>
A small test clean-up for a topic introduced in v2.9.1 and later.

* sg/reflog-past-root:
  t1410: remove superfluous 'git reflog' from the 'walk past root' test
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A small test clean-up for a topic introduced in v2.9.1 and later.

* sg/reflog-past-root:
  t1410: remove superfluous 'git reflog' from the 'walk past root' test
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rs/mailinfo-lib' into maint</title>
<updated>2016-09-09T04:36:01+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:36:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=71165f027fed7d0d47f8cb50dd46ab4b11821a40'/>
<id>71165f027fed7d0d47f8cb50dd46ab4b11821a40</id>
<content type='text'>
Small code clean-up.

* rs/mailinfo-lib:
  mailinfo: recycle strbuf in check_header()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Small code clean-up.

* rs/mailinfo-lib:
  mailinfo: recycle strbuf in check_header()
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'jk/tighten-alloc' into maint</title>
<updated>2016-09-09T04:36:00+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=9bef64223606a2c5fdc696745ce02b4af62bda90'/>
<id>9bef64223606a2c5fdc696745ce02b4af62bda90</id>
<content type='text'>
Small code and comment clean-up.

* jk/tighten-alloc:
  receive-pack: use FLEX_ALLOC_MEM in queue_command()
  correct FLEXPTR_* example in comment
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Small code and comment clean-up.

* jk/tighten-alloc:
  receive-pack: use FLEX_ALLOC_MEM in queue_command()
  correct FLEXPTR_* example in comment
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rs/use-strbuf-add-unique-abbrev' into maint</title>
<updated>2016-09-09T04:36:00+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=5e469ab66c86d5178aae71cacf9f55c3b378de03'/>
<id>5e469ab66c86d5178aae71cacf9f55c3b378de03</id>
<content type='text'>
A small code clean-up.

* rs/use-strbuf-add-unique-abbrev:
  use strbuf_add_unique_abbrev() for adding short hashes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A small code clean-up.

* rs/use-strbuf-add-unique-abbrev:
  use strbuf_add_unique_abbrev() for adding short hashes
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rs/merge-recursive-string-list-init' into maint</title>
<updated>2016-09-09T04:35:59+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=f14883b972f3d6b104c4d141fc3de34af9ba0b24'/>
<id>f14883b972f3d6b104c4d141fc3de34af9ba0b24</id>
<content type='text'>
A small code clean-up.

* rs/merge-recursive-string-list-init:
  merge-recursive: use STRING_LIST_INIT_NODUP
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A small code clean-up.

* rs/merge-recursive-string-list-init:
  merge-recursive: use STRING_LIST_INIT_NODUP
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rs/merge-add-strategies-simplification' into maint</title>
<updated>2016-09-09T04:35:58+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:35:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=24c88ad8d10c36f4cd2473e6199f901ac485d74e'/>
<id>24c88ad8d10c36f4cd2473e6199f901ac485d74e</id>
<content type='text'>
A small code clean-up.

* rs/merge-add-strategies-simplification:
  merge: use string_list_split() in add_strategies()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A small code clean-up.

* rs/merge-add-strategies-simplification:
  merge: use string_list_split() in add_strategies()
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ls/packet-line-protocol-doc-fix' into maint</title>
<updated>2016-09-09T04:35:57+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-09-09T04:35:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=a75341c75aff04a9be8c315b0520db3ff40cd9d5'/>
<id>a75341c75aff04a9be8c315b0520db3ff40cd9d5</id>
<content type='text'>
Correct an age-old calco (is that a typo-like word for calc)
in the documentation.

* ls/packet-line-protocol-doc-fix:
  pack-protocol: fix maximum pkt-line size
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct an age-old calco (is that a typo-like word for calc)
in the documentation.

* ls/packet-line-protocol-doc-fix:
  pack-protocol: fix maximum pkt-line size
</pre>
</div>
</content>
</entry>
</feed>
