Merge branch 'nd/multiple-work-trees' into next
commit0f04a1c3006cb9d4c80a5f2c711cc5c3b4cbc3ea
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2015 04:14:25 +0000 (5 21:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2015 04:14:26 +0000 (5 21:14 -0700)
tree1df80e97daf7cf30536966328156f9be7010311d
parentcba9cd904d2114ade47fbba7f5f33b0eb313ecfd
parent562bc080934b1bd16099723e80cc82a0dc6356b7
Merge branch 'nd/multiple-work-trees' into next

A replacement for contrib/workdir/git-new-workdir that does not
rely on symbolic links and make sharing of objects and refs safer
by making the borrowee and borrowers aware of each other.

* nd/multiple-work-trees: (41 commits)
  prune --worktrees: fix expire vs worktree existence condition
  t1501: fix test with split index
  t2026: fix broken &&-chain
  t2026 needs procondition SANITY
  git-checkout.txt: a note about multiple checkout support for submodules
  checkout: add --ignore-other-wortrees
  checkout: pass whole struct to parse_branchname_arg instead of individual flags
  git-common-dir: make "modules/" per-working-directory directory
  checkout: do not fail if target is an empty directory
  t2025: add a test to make sure grafts is working from a linked checkout
  checkout: don't require a work tree when checking out into a new one
  git_path(): keep "info/sparse-checkout" per work-tree
  count-objects: report unused files in $GIT_DIR/worktrees/...
  gc: support prune --worktrees
  gc: factor out gc.pruneexpire parsing code
  gc: style change -- no SP before closing parenthesis
  checkout: clean up half-prepared directories in --to mode
  checkout: reject if the branch is already checked out elsewhere
  prune: strategies for linked checkouts
  checkout: support checking out into a new working directory
  ...
35 files changed:
Documentation/config.txt
Documentation/git-checkout.txt
Documentation/git.txt
builtin/branch.c
builtin/checkout.c
builtin/clone.c
builtin/commit.c
builtin/fetch.c
builtin/fsck.c
builtin/gc.c
builtin/init-db.c
builtin/prune.c
builtin/receive-pack.c
builtin/remote.c
builtin/repack.c
builtin/rev-parse.c
cache.h
daemon.c
environment.c
fast-import.c
git-am.sh
git-rebase--interactive.sh
git-sh-setup.sh
git.c
notes-merge.c
path.c
refs.c
refs.h
run-command.c
run-command.h
sha1_file.c
submodule.c
trace.c
transport.c
wrapper.c