<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin, branch v2.5.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.5.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.5.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-07-13T21:02:19Z</updated>
<entry>
<title>Merge branch 'es/worktree-add'</title>
<updated>2015-07-13T21:02:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-13T21:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=799767cc98b2f8e6f82d0de4bef9b5e8fcc16e97'/>
<id>urn:sha1:799767cc98b2f8e6f82d0de4bef9b5e8fcc16e97</id>
<content type='text'>
Update to the "linked checkout" in 2.5.0-rc1.

Instead of "checkout --to" that does not do what "checkout"
normally does, move the functionality to "git worktree add".

* es/worktree-add: (24 commits)
  Revert "checkout: retire --ignore-other-worktrees in favor of --force"
  checkout: retire --ignore-other-worktrees in favor of --force
  worktree: add: auto-vivify new branch when &lt;branch&gt; is omitted
  worktree: add: make -b/-B default to HEAD when &lt;branch&gt; is omitted
  worktree: extract basename computation to new function
  checkout: require worktree unconditionally
  checkout: retire --to option
  tests: worktree: retrofit "checkout --to" tests for "worktree add"
  worktree: add -b/-B options
  worktree: add --detach option
  worktree: add --force option
  worktree: introduce "add" command
  checkout: drop 'checkout_opts' dependency from prepare_linked_checkout
  checkout: make --to unconditionally verbose
  checkout: prepare_linked_checkout: drop now-unused 'new' argument
  checkout: relocate --to's "no branch specified" check
  checkout: fix bug with --to and relative HEAD
  Documentation/git-worktree: add EXAMPLES section
  Documentation/git-worktree: add high-level 'lock' overview
  Documentation/git-worktree: split technical info from general description
  ...
</content>
</entry>
<entry>
<title>Merge branch 'nd/multiple-work-trees'</title>
<updated>2015-07-13T21:02:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-13T21:02:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7783eb2e59684492e75068443e1f77f64fe37cc9'/>
<id>urn:sha1:7783eb2e59684492e75068443e1f77f64fe37cc9</id>
<content type='text'>
"git checkout [&lt;tree-ish&gt;] &lt;paths&gt;" spent unnecessary cycles
checking if the current branch was checked out elsewhere, when we
know we are not switching the branches ourselves.

* nd/multiple-work-trees:
  worktree: new place for "git prune --worktrees"
  checkout: don't check worktrees when not necessary
</content>
</entry>
<entry>
<title>Merge branch 'ss/clone-guess-dir-name-simplify'</title>
<updated>2015-07-13T21:00:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-13T21:00:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=721f5bb8968ed6a6ec126fe28f679c17a6998e87'/>
<id>urn:sha1:721f5bb8968ed6a6ec126fe28f679c17a6998e87</id>
<content type='text'>
Code simplification.

* ss/clone-guess-dir-name-simplify:
  clone: simplify string handling in guess_dir_name()
</content>
</entry>
<entry>
<title>Revert "checkout: retire --ignore-other-worktrees in favor of --force"</title>
<updated>2015-07-12T16:38:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-12T16:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c925fe23684455735c3bb1903803643a24a58d8f'/>
<id>urn:sha1:c925fe23684455735c3bb1903803643a24a58d8f</id>
<content type='text'>
This reverts commit 0d1a1517835a10818f2d40d8780a268dbb5e20ce.

When trying to switch to a different branch, that happens to be
checked out in another working tree, the user shouldn't have to
give up the other safety measures (like protecting the local changes
that overlap the difference between the branches) while defeating
the "no two checkouts of the same branch" safety.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ls/hint-rev-list-count'</title>
<updated>2015-07-10T21:26:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-10T21:26:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b3a30f6e0cb30ebe37381818aec594e99fd380ff'/>
<id>urn:sha1:b3a30f6e0cb30ebe37381818aec594e99fd380ff</id>
<content type='text'>
* ls/hint-rev-list-count:
  rev-list: add --count to usage guide
</content>
</entry>
<entry>
<title>Merge branch 'jk/rev-list-no-bitmap-while-pruning'</title>
<updated>2015-07-10T21:26:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-10T21:26:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ace6325ddf40725b07591d33dc06f3b82dba57ab'/>
<id>urn:sha1:ace6325ddf40725b07591d33dc06f3b82dba57ab</id>
<content type='text'>
A minor bugfix when pack bitmap is used with "rev-list --count".

* jk/rev-list-no-bitmap-while-pruning:
  rev-list: disable --use-bitmap-index when pruning commits
</content>
</entry>
<entry>
<title>Merge branch 'jc/fix-alloc-sortbuf-in-index-pack'</title>
<updated>2015-07-09T21:31:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-09T21:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0bf46af089cd01516c298a97f72f360fdbe6df85'/>
<id>urn:sha1:0bf46af089cd01516c298a97f72f360fdbe6df85</id>
<content type='text'>
A hotfix for what is in 2.5-rc but not in 2.4.

* jc/fix-alloc-sortbuf-in-index-pack:
  index-pack: fix allocation of sorted_by_pos array
</content>
</entry>
<entry>
<title>clone: simplify string handling in guess_dir_name()</title>
<updated>2015-07-09T21:21:29Z</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2015-07-09T18:24:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7e837c6477b59cc51756e241ccfee76068e5e379'/>
<id>urn:sha1:7e837c6477b59cc51756e241ccfee76068e5e379</id>
<content type='text'>
Signed-off-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>checkout: retire --ignore-other-worktrees in favor of --force</title>
<updated>2015-07-07T21:34:46Z</updated>
<author>
<name>Eric Sunshine</name>
<email>sunshine@sunshineco.com</email>
</author>
<published>2015-07-06T17:31:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0d1a1517835a10818f2d40d8780a268dbb5e20ce'/>
<id>urn:sha1:0d1a1517835a10818f2d40d8780a268dbb5e20ce</id>
<content type='text'>
As a safeguard, checking out a branch already checked out by a different
worktree is disallowed. This behavior can be overridden with
--ignore-other-worktrees, however, this option is neither obvious nor
particularly discoverable. As a common safeguard override, --force is
more likely to come to mind. Therefore, overload it to also suppress the
check for a branch already checked out elsewhere.

Signed-off-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>worktree: add: auto-vivify new branch when &lt;branch&gt; is omitted</title>
<updated>2015-07-07T21:34:32Z</updated>
<author>
<name>Eric Sunshine</name>
<email>sunshine@sunshineco.com</email>
</author>
<published>2015-07-06T17:30:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1eb07d829f3f0992c93c6b44fdcc4e95ebab12f3'/>
<id>urn:sha1:1eb07d829f3f0992c93c6b44fdcc4e95ebab12f3</id>
<content type='text'>
As a convenience, when &lt;branch&gt; is omitted from "git worktree &lt;path&gt;
&lt;branch&gt;" and neither -b nor -B is used, automatically create a new
branch named after &lt;path&gt;, as if "-b $(basename &lt;path&gt;)" was specified.
Thus, "git worktree add ../hotfix" creates a new branch named "hotfix"
and associates it with new worktree "../hotfix".

Signed-off-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
