groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Musescore-Lilypond-groff


From: Werner LEMBERG
Subject: Re: [Groff] Musescore-Lilypond-groff
Date: Wed, 13 May 2015 11:14:17 +0200 (CEST)

> I have zero experience in patching files.
> I try to learn about that in the web.

Mastering the `patch' and `diff' programs is really essential IMHO :-)

> Now I took this code: [...]
>
> I made it to a file named "patch1glilypond" and apply the command:
>
> patch -p1 < /home/gregexp/Bureau/patch1glilypond
>
> I get just en error message: [...]

Play around with `-p0', `-p2', ...  Note that you should be in groff's
top-level directory while applying such patches so that all
subdirectories can be correctly found if necessary.

In case you are in a git repository, and the patch was incorrectly
applied (this is, only partially, possibly due to a wrong `-pX'
option), say

  git reset --hard

to clean up the git repository – of course, this assumes that you
don't have any local changes.  If you have, `git stash' stash is your
friend to preserve them.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]