public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: Mirko Faina <mroik@delayed.space>
To: Aron Sigfridsson <aron.sigfridsson@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Git reference git stash
Date: Fri, 6 Mar 2026 03:09:15 +0100	[thread overview]
Message-ID: <aao1hFwJYpJymY3o@exploit> (raw)
In-Reply-To: <CAB0c_PjtTs8dWJCoUnQfCUM_YOaK3e3FcZfCgWjTOLcNWj-6nA@mail.gmail.com>

It doesn't seem to be specified at all, but from a quick test you can
see for yourself that "git stash push <pathspec>" uses relative paths
from the current directory and not the toplevel one.

To be sure on what's the relative path to use you can check the output
from "git status".

Maybe it should be added to the documentation for "git stash".

  reply	other threads:[~2026-03-06  2:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-05 20:07 Git reference git stash Aron Sigfridsson
2026-03-06  2:09 ` Mirko Faina [this message]
2026-03-06  2:31   ` Mirko Faina
2026-03-06 12:29     ` erik88
2026-03-06 21:50       ` 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=aao1hFwJYpJymY3o@exploit \
    --to=mroik@delayed.space \
    --cc=aron.sigfridsson@gmail.com \
    --cc=git@vger.kernel.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