Now that we have diff -p support on mainline, is there any reason we
shouldn't make it the default?

(For those who haven't run across this before, diff -p gives output
like:

--- hello       80ad86578e12a12c838cd4ff7ca226aa6bcc44e9
+++ hello       94ebfe438b30bf18631c1846b2891b818f46aa23
@@ -9,3 +9,9 @@ int main()
 {
         say_hello();
 }
+
+void say_goodbye()
+{
+        printf("goodbye\n");
+}
+

In particular, note the "int main()" stuck on the end of the @@ line,
to give you context when reading the patch.)

AFAIK it's still compatible with patch(1) and the various other tools
out there.

-- Nathaniel

-- 
Sentience can be such a burden.


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to