From: Pete Wyckoff <pw@padd.com>
To: Matthew Korich <matthew@korich.net>
Cc: git@vger.kernel.org
Subject: [PATCH 0/5] git p4: fix branch detection with --use-client-spec
Date: Sat, 11 Aug 2012 12:51:43 -0400 [thread overview]
Message-ID: <20120811165143.GA2004@padd.com> (raw)
In-Reply-To: <CANWnr5aqswATTM9_Zyw=w_x01=e8CqoCsn0Ybee0XvGSJ3F_yw@mail.gmail.com>
matthew@korich.net wrote on Fri, 10 Aug 2012 12:14 -0700:
> Using git p4 on git version 1.7.12.rc2 has path issues. Standard
> clone/sync ops apparently place detected master and branches on
> independent and parallel directory structures instead of git branches.
> See http://stackoverflow.com/q/11893688/1588831 for a full demo of the problem.
Thank you for the detailed report. It is a bug in 1.7.12-rc2.
This series fixes it, on top of origin/master.
The crux of the matter is that files are mapped into the wrong
locations in git when both --use-client-spec and --branch-detection
are enabled.
Pete Wyckoff (5):
git p4 test: move client_view() function to library
git p4 test: add broken --use-client-spec --detect-branches tests
git p4: set self.branchPrefixes in initialization
git p4: do wildcard decoding in stripRepoPath
git p4: make branch detection work with --use-client-spec
git-p4.py | 75 +++++++++++++++++++++++++++--------------
t/lib-git-p4.sh | 18 ++++++++++
t/t9801-git-p4-branch.sh | 77 +++++++++++++++++++++++++++++++++++++++++++
t/t9809-git-p4-client-view.sh | 17 ----------
4 files changed, 146 insertions(+), 41 deletions(-)
--
1.7.12.rc2.24.gc304662
next prev parent reply other threads:[~2012-08-11 16:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 19:14 git-p4 migrates perforce “main” branch into git branches as subdirectories (doubled code in git branches) Matthew Korich
2012-08-11 16:51 ` Pete Wyckoff [this message]
2012-08-11 16:55 ` [PATCH 1/5] git p4 test: move client_view() function to library Pete Wyckoff
2012-08-11 16:55 ` [PATCH 2/5] git p4 test: add broken --use-client-spec --detect-branches tests Pete Wyckoff
2012-08-11 16:55 ` [PATCH 3/5] git p4: set self.branchPrefixes in initialization Pete Wyckoff
2012-08-11 16:55 ` [PATCH 4/5] git p4: do wildcard decoding in stripRepoPath Pete Wyckoff
2012-08-11 16:55 ` [PATCH 5/5] git p4: make branch detection work with --use-client-spec Pete Wyckoff
2012-08-12 4:41 ` [PATCH 0/5] git p4: fix branch detection " Junio C Hamano
2012-08-12 14:04 ` Pete Wyckoff
2012-08-12 19:30 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120811165143.GA2004@padd.com \
--to=pw@padd.com \
--cc=git@vger.kernel.org \
--cc=matthew@korich.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.