git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation: fix a typo in git-apply.txt

From
Michal Kiedrowicz <michal.kiedrowicz@gmail.com>
Date
Mar 4, 2011, 10:43 UTC
Message-ID
<20110304114314.2bc9ce26@mkiedrowicz>
In-Reply-To
<4D70A345.1010706@nextest.com>
On 04.03.2011 00:31:01 -0800 Eric Raible <raible@nextest.com> wrote:
Show 33 quoted lines
> On 11:59 AM, Michal Kiedrowicz wrote:
> > On 03.03.2011 15:28:45 -0800 Junio C Hamano <gitster@pobox.com>
> > wrote:
> > 
> >> Michał Kiedrowicz <michal.kiedrowicz@gmail.com> writes:
> >>
> >>> git-apply accepts the --cached option, not --cache.
> >>>
> >>> Signed-off-by: Micha=C5=82 Kiedrowicz
> >>> <michal.kiedrowicz@gmail.com> ---
> >>>  Documentation/git-apply.txt |    2 +-
> >>>  1 files changed, 1 insertions(+), 1 deletions(-)
> >>>
> >>> diff --git Documentation/git-apply.txt Documentation/git-apply.txt
> >>> index 881652f..2dcfc09 100644
> >>> --- Documentation/git-apply.txt
> >>> +++ Documentation/git-apply.txt
> >>
> >> What kind of crap is this?
> >>
> >> We really should make it much harder for people to use funky
> >> src/dst prefix when generating patches.
> > 
> > It's called diff.noprefix=true :). I use it @work to easily
> > copy/paste paths from git-diff output. I guess I should somehow
> > make git.git config ignore global settings.
> 
> The local config will override the global settings automatically.
> 
> 	git config diff.noprefix false
> 
> Should do it.
> 
Yeah, I know, that's what I did eventually. I meant something like
	git config core.ignoreGlobalConfig true
to protect from all changes set in ~/.gitconfig.
Previous: Eric Raible
Message 5 of 5 in “Documentation: fix a typo in git-apply.txt”
  1. Documentation: fix a typo in git-apply.txtMichał Kiedrowicz, Mar 3, 2011
  2. Junio C HamanoMar 3, 2011
  3. Michal KiedrowiczMar 4, 2011
  4. Eric RaibleMar 4, 2011
  5. Michal KiedrowiczMar 4, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.