From: Eric Sunshine <sunshine@sunshineco.com>
To: Elijah Newren <newren@gmail.com>
Cc: "Git List" <git@vger.kernel.org>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
andreastacchiotti@gmail.com, eckhard.s.maass@googlemail.com,
"Nguyễn Thái Ngọc Duy" <pclouds@gmail.com>
Subject: Re: Triggering "BUG: wt-status.c:476: multiple renames on the same target? how?"
Date: Thu, 27 Sep 2018 06:15:45 -0400 [thread overview]
Message-ID: <CAPig+cRW1S78Oiq9RPZjOBC651DO3=8Uzg69sji+x1QpOeH4ig@mail.gmail.com> (raw)
In-Reply-To: <20180927072043.19130-1-newren@gmail.com>
On Thu, Sep 27, 2018 at 3:20 AM Elijah Newren <newren@gmail.com> wrote:
> Subject: [PATCH] commit: fix erroneous BUG, 'multiple renames on the same
> target? how?'
> [...]
> Signed-off-by: Elijah Newren <newren@gmail.com>
> ---
> diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh
> @@ -359,4 +359,27 @@ test_expect_success 'new line found before status message in commit template' '
> +test_expect_success 'setup empty commit with unstaged rename and copy' '
> + test_create_repo unstaged_rename_and_copy &&
> + (
> + cd unstaged_rename_and_copy &&
> +
> + echo content >orig &&
> + git add orig &&
> + test_commit orig &&
> +
> + cp -a orig new_copy &&
Non-portable -a option. Not in POSIX[1].
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cp.html
> + mv orig new_rename &&
> + git add -N new_copy new_rename
> + )
> +'
next prev parent reply other threads:[~2018-09-27 10:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-27 7:20 Triggering "BUG: wt-status.c:476: multiple renames on the same target? how?" Elijah Newren
2018-09-27 10:15 ` Eric Sunshine [this message]
2018-09-27 16:48 ` Duy Nguyen
2018-09-27 17:36 ` [PATCHv2] commit: fix erroneous BUG, 'multiple renames on the same target? how?' Elijah Newren
-- strict thread matches above, loose matches on Subject: below --
2018-09-26 20:27 Triggering "BUG: wt-status.c:476: multiple renames on the same target? how?" Andrea Stacchiotti
2018-09-26 20:56 ` Ævar Arnfjörð Bjarmason
2018-09-26 21:02 ` Andrea Stacchiotti
[not found] ` <875zysj6fq.fsf@evledraar.gmail.com>
2018-09-27 4:20 ` Elijah Newren
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPig+cRW1S78Oiq9RPZjOBC651DO3=8Uzg69sji+x1QpOeH4ig@mail.gmail.com' \
--to=sunshine@sunshineco.com \
--cc=andreastacchiotti@gmail.com \
--cc=avarab@gmail.com \
--cc=eckhard.s.maass@googlemail.com \
--cc=git@vger.kernel.org \
--cc=newren@gmail.com \
--cc=pclouds@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).