[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Diff containing new empty file
From: |
Tristan Hill |
Subject: |
Diff containing new empty file |
Date: |
Tue, 07 Nov 2006 21:53:25 +0000 |
Should diff be able to indicate a new empty file? Or is it a know
unsupported case?
e.g.
$ find
.
./old
./new
./new/__init__.py
./new/test.py
where new/__init__.py is an empty file, diff produces;
$ diff -Naur old new
diff -Naur old/test.py new/test.py
--- old/test.py 1970-01-01 01:00:00.000000000 +0100
+++ new/test.py 2006-11-07 21:41:43.897567993 +0000
@@ -0,0 +1 @@
+test = 1
$ diff --version
diff (GNU diffutils) 2.8.1
Thanks
Tristan
- Diff containing new empty file,
Tristan Hill <=