Git development
 help / color / mirror / Atom feed
From: Andrew Berry <andrewberry@sentex.net>
To: git@vger.kernel.org
Subject: Behaviour of git apply --directory
Date: Mon, 22 Aug 2011 11:21:55 -0400	[thread overview]
Message-ID: <E21BC0F8-2DF0-44AB-B18A-013451CDB670@sentex.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

Hi,

The behaviour of git apply --directory seems a little confusing. It looks to be dependent on the current directory, but I can't use relative paths to apply a patch in one directory to a sibling directory. Absolute paths don't work either. I'd expected the parameter to either be relative to the git repository root, or to expand relative directories.

Any thoughts?

--Andrew

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2488 bytes --]

             reply	other threads:[~2011-08-22 15:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22 15:21 Andrew Berry [this message]
2011-08-22 18:28 ` Behaviour of git apply --directory Junio C Hamano
2011-08-24 14:26   ` Andrew Berry

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=E21BC0F8-2DF0-44AB-B18A-013451CDB670@sentex.net \
    --to=andrewberry@sentex.net \
    --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