From: Junio C Hamano <gitster@pobox.com>
To: "Alexander Gavrilov" <angavrilov@gmail.com>
Cc: "Shawn O. Pearce" <spearce@spearce.org>,
"Johannes Schindelin" <Johannes.Schindelin@gmx.de>,
git@vger.kernel.org
Subject: Re: [PATCH v2] Support copy and rename detection in fast-export.
Date: Wed, 30 Jul 2008 11:35:35 -0700 [thread overview]
Message-ID: <7vvdyn5ifc.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <bb6f213e0807300210r205846b4qffa9fc71d4aa6533@mail.gmail.com> (Alexander Gavrilov's message of "Wed, 30 Jul 2008 13:10:07 +0400")
"Alexander Gavrilov" <angavrilov@gmail.com> writes:
>> If you see a copied or renamed entry, you emit "this old path to that old
>> path" first, and then say that same path got modified. It appears from my
>> quick glance of fast-import that touching the same path more than once in
>> a same commit like this sequence does would work fine (it will involve two
>> calls to tree_content_set() for the same path but that is not something it
>> has to forbid, and the function doesn't).
>
> I'm sorry, but I don't quite understand what are you suggesting by
> this paragraph.
Sorry for the unmarked remark --- this was not a question, suggestion nor
complaint, but just a plain observation. I should have ended the
paragraph with "--- I think it's all good." to avoid confusion.
>>> +export GIT_AUTHOR_NAME='A U Thor'
>>> +export GIT_COMMITTER_NAME='C O Mitter'
>>> +
>>> +test_expect_success 'setup copies' '
>>> +
>>> + git config --unset i18n.commitencoding &&
>>
>> These are somewhat unusual. Was there any reason for these exports and
>> config?
>>
>
> t9301-fast-export.sh earlier changes these parameters to test
> automatic conversion to utf8.
Yeah, I noticed that while looking at wider context, after I sent the
message you are responding to.
Anyway, thanks for the patch. Applied and pushed out.
prev parent reply other threads:[~2008-07-30 18:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-21 8:16 [RFC PATCH] Support copy and rename detection in fast-export Alexander Gavrilov
2008-07-21 10:17 ` Johannes Schindelin
2008-07-26 18:49 ` [PATCH v2] " Alexander Gavrilov
2008-07-26 20:21 ` Shawn O. Pearce
2008-07-26 20:52 ` Alexander Gavrilov
2008-07-29 16:11 ` Junio C Hamano
2008-07-29 16:45 ` Shawn O. Pearce
2008-07-30 9:10 ` Alexander Gavrilov
2008-07-30 18:35 ` Junio C Hamano [this message]
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=7vvdyn5ifc.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=angavrilov@gmail.com \
--cc=git@vger.kernel.org \
--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).