Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 1995 16:10:44 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-commiters@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org, gibbs@freefall.freebsd.org
Subject:   Re: cvs commit: src/gnu/usr.bin/patch pch.c
Message-ID:  <199509140610.QAA12138@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified:    gnu/usr.bin/patch  pch.c
>  Log:
>  Give "Index" specified filenames preference over other filenames specified
>  in the diff.  This makes it so that diffs containing files in different
>  subdirectories that have the same name not patch the same file.  For example
>  a diff with patches to Makefile, des/Makefile, usr.bin/Makefile would attempt
>  to patch Makefile three times.

This will be useful.  I've been avoiding `cvs diff' for preparing
bunches of patches to commit for so long that I had forgotten about this
problem.  Why has patch done the wrong thing here for so long?  Perhaps
because only cvs doesn't put enough context in the filenames in the
diff?  :-)

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509140610.QAA12138>