public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Nikolay Shustov <nikolay.shustov@gmail•com>
To: Johannes Schindelin <Johannes.Schindelin@gmx•de>
Cc: git@vger•kernel.org
Subject: Re: git merge --no-ff failure
Date: Fri, 26 Sep 2025 10:03:30 -0400	[thread overview]
Message-ID: <f3a051ef-328c-4778-9c78-33d52d273479@gmail.com> (raw)
In-Reply-To: <1f78a660-3c1b-7aea-5b3e-945ec2b1ad80@gmx.de>

Hi Johannes,
Yes I can reproduce it, stable.

I do not have any file changes to stash, so "git stash create" doesn't 
error out.
No merges or anything else in progress, it was just purely the steps I 
described in the initial report.

Now thinking about it, the only quirk I that I did not mention was:
Our p4 depot, unfortunately, has some files which names end with dot 
(.). E.g. "/somehing/blah."
Naturally, (a known thing) git p4 on Windows created "/somehing/blah" 
for it and then showed  "/something/blah." removed and "/somehing/blah" 
as untracked. I renamed "/somehing/blah" to "/somehing/blah." manually 
to calm down its double personality :-)
(BTW, I think git on Windows could be doing a better job about such files)

But the other git p4 repo I created from another p4 depot, where merge 
--no-ff works fine, does not have such files.
This is the only thing I could think about may be a bit... unusual.

I can try to experiment with that if you think this could be relevant.

Thanks,
- Nikolay

On 9/26/25 05:55, Johannes Schindelin wrote:
> Hi Nikolay,
>
> On Thu, 25 Sep 2025, Nikolay Shustov wrote:
>
>> Git is reporting error while I am trying to run "git merge --no-ff <my
>> branch>":
>>
>> fatal: stash failed.
> That is indeed a bit terse on Git's side. Can you still reproduce? If so,
> can you run the `git stash create` command on its own, maybe there is a
> more helpful error message there?
>
> Thanks,
> Johannes

  reply	other threads:[~2025-09-26 14:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25 13:31 git merge --no-ff failure Nikolay Shustov
2025-09-25 14:30 ` Nikolay Shustov
2025-09-26  9:55 ` Johannes Schindelin
2025-09-26 14:03   ` Nikolay Shustov [this message]
2025-09-26 17:41     ` Eric Sunshine
     [not found]       ` <CAEcERAxiuSAvpPCzsWSpoNQRmbgF0B92augTVgSqNN1jb7mJYA@mail.gmail.com>
2025-09-28  2:34         ` Nikolay Shustov

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=f3a051ef-328c-4778-9c78-33d52d273479@gmail.com \
    --to=nikolay.shustov@gmail$(echo .)com \
    --cc=Johannes.Schindelin@gmx$(echo .)de \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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