Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: prompt fun
- X-seq: zsh-workers 8212
- From: Adam Spiers <adam@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: prompt fun
- Date: Mon, 11 Oct 1999 22:30:22 +0100
- In-reply-to: <991011163911.ZM6865@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <000101bf13eb$345d8650$21c9ca95@xxxxxxxxxxxxxx> <991011163911.ZM6865@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Bart Schaefer (schaefer@xxxxxxxxxxxxxxxxxxxxxxx) wrote:
> On Oct 11, 5:19pm, Andrej Borsenkow wrote:
> } Subject: RE: PATCH: prompt fun
> }
> } I cannot apply this patch. It creates lots of files in top-level directory.
> [...]
> } non-POSIX mode patch selects file name with the least number of slashes.
> } And in POSIX mode it won't create files.
>
> Run the "cvs diff" output through this:
>
> sed -e '/^RCS/,/^---/d' -e '/^\+\+\+/d'
>
> That will strip all file name lines other than the Index: line, forcing the
> patch to apply correctly in non-POSIX mode, and it should work for both
> context and unified diffs.
Will do from now on ...
What if a line within the hunk begins with `--' or `++' though?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author