What is the purpose of timestamps in unified diffs?
0
votes
1
answer
294
views
An Example of Unified Format :
-none
--- lao 2002-02-21 23:30:39.942229878 -0800
+++ tzu 2002-02-21 23:30:50.442260588 -0800
@@ -1,7 +1,6 @@
-The Way that can be told of is not the eternal Way;
-The name that can be named is not the eternal name.
The Nameless is the origin of Heaven and Earth;
-The Named is the mother of all things.
+The named is the mother of all things.
+
Therefore let there always be non-being,
so we may see their subtlety,
And let there always be being,
@@ -9,3 +8,6 @@
The two are the same,
But after they are produced,
they have different names.
+They both may be called deep and profound.
+Deeper and more profound,
+The door of all subtleties!
What is the purpose of the timestamps (e.g. 2002-02-21 23:30:39.942229878 -0800
) that appear after the file names? Are they mandatory? Can I safely remove them? What are the consequences of faking the time (e.g. using a future time)?
Asked by Flux
(3238 rep)
May 2, 2023, 10:46 AM
Last activity: May 2, 2023, 11:04 AM
Last activity: May 2, 2023, 11:04 AM