On 07.01.2015 18:34, Jakub Bogusz wrote:
>+++ b/README.cpu-os-macros
>@@ -0,0 +1,12 @@
>+In order to more easily cope with merges and avoid issues with binary formats,
>+we're now using the ar format which will give us a pure ascii archive that'll
>+make it possible to track & merge individual changes like with other text 
files.
>+Unfortunately the format doesn't support paths..
>+
>+recommended way of making changes and updating archive:
>+rm -rf foo
>+cd foo
>+ar x ../cpu-os-macros.a
>+<perform your changes>
>+cd -
>+ar cDr cpu-os-macros.a foo/*macros
Isn't diff -Nur more readable (paths!) and easier to maintain?

maybe,

however, diff -Nur is probably ordered by filesystem, but foo/*macros is ordered by locale. as all files are lowercase it's consistent with C, en_US, or pl_PL or whatever some other friend uses (few locales like et_EE have problem with a-z excluding t-u-v, but that's minimal impact)

and ar is probably easier to create than patch (just redo whole archive), with patch have to update patch with a patch. neh...

--
glen

_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to