diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2015-07-17 18:59:56 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-20 11:29:24 -0700 |
commit | c265c533cfbced87d56ad6d3d4ae3d62475c29ce (patch) | |
tree | baa9700fd11a99d11c204bc66d56cb86373f2e92 /aclocal.m4 | |
parent | config: rename "gc.pruneWorktreesExpire" to "gc.worktreePruneExpire" (diff) | |
download | tgif-c265c533cfbced87d56ad6d3d4ae3d62475c29ce.tar.xz |
checkout: avoid resolving HEAD unnecessarily
When --ignore-other-worktree is specified, we unconditionally skip the
check to see if the requested branch is already checked out in a linked
worktree. Since we know that we will be skipping that check, there is no
need to resolve HEAD in order to detect other conditions under which we
may skip the check.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions