From: Jamey Sharp <jamey@minilop.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: "Shawn O. Pearce" <spearce@spearce.org>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Jeff King <peff@peff.net>, Jakub Narebski <jnareb@gmail.com>,
git@vger.kernel.org, Josh Triplett <josh@joshtriplett.org>
Subject: Re: What's cooking in git.git (Jun 2011, #01; Sun, 5)
Date: Tue, 7 Jun 2011 11:21:21 -0700 [thread overview]
Message-ID: <1307470885-4018-1-git-send-email-jamey@minilop.net> (raw)
In-Reply-To: <7vsjrna2x2.fsf@alter.siamese.dyndns.org>
On Sun, Jun 05, 2011 at 11:29:13PM -0700, Junio C Hamano wrote:
> * js/ref-namespaces (2011-06-05) 4 commits
> - ref namespaces: documentation
> - ref namespaces: support remote repositories via upload-pack and receive-pack
> - ref namespaces: infrastructure
> - Fix prefix handling in ref iteration functions
>
> Fairly involved feature enhancement, and breaks tests when merged to 'pu'.
> Not urgent. Will not merge before 1.7.6.
We tracked down the test failure. t5501 detects that pushing into a
repository with an alternate fails to make use of the alternate to avoid
extra objects. This failure occurs with the first patch in the series,
"Fix prefix handling in ref iteration functions". We added some
debugging code which revealed the cause:
DEBUG: Ignoring ref ".have" due to base "refs/"
So, the suggested change to actually use "refs/" as a filter caused this
failure. Based on this, we'd tend to suggest that we should go back to
the version which preserved the existing behavior, to avoid breaking
assumptions like this; that seems preferable to tracking down all the
places that would break due to this new ref filtering. Adding that
filtering and fixing all the resulting breakage seems like an entirely
separate change.
This patch series takes that approach.
Josh Triplett and Jamey Sharp (4):
Fix prefix handling in ref iteration functions
Add infrastructure for ref namespaces
Support ref namespaces for remote repositories via upload-pack and
receive-pack
Add documentation for ref namespaces
Documentation/Makefile | 2 +-
Documentation/git-http-backend.txt | 8 +++
Documentation/git-receive-pack.txt | 2 +-
Documentation/git-upload-pack.txt | 4 ++
Documentation/git.txt | 13 +++++-
Documentation/gitnamespaces.txt | 75 ++++++++++++++++++++++++++++++++
builtin/receive-pack.c | 34 ++++++++++++---
cache.h | 3 +
contrib/completion/git-completion.bash | 3 +-
environment.c | 41 +++++++++++++++++
git.c | 18 +++++++-
refs.c | 33 ++++++++++++--
refs.h | 3 +
upload-pack.c | 15 +++---
14 files changed, 230 insertions(+), 24 deletions(-)
create mode 100644 Documentation/gitnamespaces.txt
--
1.7.5.3
next prev parent reply other threads:[~2011-06-07 18:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-06 6:29 What's cooking in git.git (Jun 2011, #01; Sun, 5) Junio C Hamano
2011-06-06 7:16 ` Johannes Sixt
2011-06-06 7:38 ` Erik Faye-Lund
2011-06-07 18:21 ` Jamey Sharp [this message]
2011-06-07 18:21 ` [PATCH 1/4] Fix prefix handling in ref iteration functions Jamey Sharp
2011-06-07 18:21 ` [PATCH 2/4] Add infrastructure for ref namespaces Jamey Sharp
2011-06-07 19:12 ` Bert Wesarg
2011-06-07 22:25 ` Josh Triplett
2011-06-07 18:21 ` [PATCH 3/4] Support ref namespaces for remote repositories via upload-pack and receive-pack Jamey Sharp
2011-06-07 18:21 ` [PATCH 4/4] Add documentation for ref namespaces Jamey Sharp
2011-08-23 10:38 ` Ævar Arnfjörð Bjarmason
2011-08-23 17:19 ` Junio C Hamano
2011-08-24 12:30 ` Ævar Arnfjörð Bjarmason
2011-09-16 0:22 ` Re* " Junio C Hamano
2011-09-16 3:40 ` Jamey Sharp
2011-09-16 16:20 ` Junio C Hamano
2011-06-07 18:59 ` What's cooking in git.git (Jun 2011, #01; Sun, 5) 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=1307470885-4018-1-git-send-email-jamey@minilop.net \
--to=jamey@minilop.net \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jnareb@gmail.com \
--cc=josh@joshtriplett.org \
--cc=peff@peff.net \
--cc=spearce@spearce.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).