From: Ronnie Sahlberg <sahlberg@google.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: David Turner <dturner@twopensource.com>,
"git@vger.kernel.org" <git@vger.kernel.org>,
Michael Haggerty <mhagger@alum.mit.edu>,
Jonathan Nieder <jrnieder@gmail.com>
Subject: Re: [PATCH v4 0/1] receive-pack: optionally deny case clone refs
Date: Fri, 13 Jun 2014 15:24:52 -0700 [thread overview]
Message-ID: <CAL=YDWnGBrgHFamc0ZmmGJSFL3Z_6ZaWn4AWOMhJTPQ5UCKD_A@mail.gmail.com> (raw)
In-Reply-To: <xmqqk38k1pmv.fsf@gitster.dls.corp.google.com>
On Fri, Jun 13, 2014 at 2:11 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Ronnie Sahlberg <sahlberg@google.com> writes:
>
>> ... The first
>> backend will be the current files based structure but I also will add
>> an optional backend using a TDB database.
>
> I am assuming that as part of the transactions work, accesses to
> reflogs will also have their own backends?
Yes. They will be stored in the same database so that updates to refs
and reflogs will become truly atomic.
>
>> You could then very easily create a new backend, say 'struct refs_be
>> refs_files_case_insensitive' where the methods would just convert any
>> refnames to/from a case insensitive encoding before invoking the
>> default methods from the files backend.
>> Perhaps something as simple as converting any upper case characters
>> to/from '%xx' representation when accessing the actual files.
>
> Hmm... that would work only when the new implementation of Git is
> the only one that accesses the repository. Other implementations
> (e.g. Eclipse via egit, Gerrit via jgit, etc.) peeking into the
> same repository wouldn't know what to do with these encoded
> refnames.
next prev parent reply other threads:[~2014-06-13 22:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-11 22:30 [PATCH v4 0/1] receive-pack: optionally deny case clone refs David Turner
2014-06-11 22:30 ` [PATCH v4 1/1] " David Turner
2014-06-13 4:03 ` Torsten Bögershausen
2014-06-12 19:47 ` [PATCH v4 0/1] " Junio C Hamano
2014-06-12 23:30 ` David Turner
2014-06-13 4:03 ` Torsten Bögershausen
2014-06-13 17:12 ` Junio C Hamano
2014-06-13 17:08 ` Junio C Hamano
2014-06-13 18:20 ` Ronnie Sahlberg
2014-06-13 19:05 ` Ronnie Sahlberg
2014-06-13 21:11 ` Junio C Hamano
2014-06-13 22:24 ` Ronnie Sahlberg [this message]
2014-06-15 7:10 ` David Turner
2014-06-13 21:25 ` Junio C Hamano
2014-06-18 11:33 ` Michael Haggerty
2014-06-18 15:03 ` Ronnie Sahlberg
2014-08-13 16:20 ` Ronnie Sahlberg
2014-08-13 19:28 ` David Turner
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='CAL=YDWnGBrgHFamc0ZmmGJSFL3Z_6ZaWn4AWOMhJTPQ5UCKD_A@mail.gmail.com' \
--to=sahlberg@google.com \
--cc=dturner@twopensource.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jrnieder@gmail.com \
--cc=mhagger@alum.mit.edu \
/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).