Sergey Poznyakoff 19 jaren geleden
bovenliggende
commit
49f39c25b4
2 gewijzigde bestanden met toevoegingen van 20 en 0 verwijderingen
  1. 7 0
      ChangeLog
  2. 13 0
      NEWS

+ 7 - 0
ChangeLog

@@ -1,5 +1,12 @@
 2005-09-28  Sergey Poznyakoff  <[email protected]>
 
+	* NEWS: Updated
+	* src/common.h (show_stored_names_option): New variable
+	* src/list.c (print_header): If show_stored_names_option is given,
+	list member names as stored in the archive. Patch proposed by Erik
+	Cumps <[email protected]>
+	* src/tar.c: Implement --show-stored-names option
+
 	* src/common.h (test_label_option): New variable;
 	* src/list.c (print_header): Special handling if test_label_option
 	is set.

+ 13 - 0
NEWS

@@ -25,6 +25,19 @@ automatically. It is not necessary to give --null option.
 is useful e.g. for processing output from `find dir -print0'.
 An orthogonal option --unquote is provided as well.
 
+* New option --test-label tests the archive volume label.
+If an argument is specified, the label is compared against its value.
+Tar exits with code 0 if the two strings match, and with code 2 if
+they do not.
+
+If no argument is given, --verbose option is implied. In this case,
+tar prints the label name, if it is present and exits with code 0.
+
+* New option --show-stored-names. When creating archive in verbose mode,
+lists member names as stored in the archive, i.e. with any eventual
+prefixes removed. The option is useful, for example, while comparing
+`tar cv' and `tar tv' outputs.	
+
 * Better support for full-resolution time stamps.  Tar cannot restore
 time stamps to full nanosecond resolution, though, until the kernel
 guys get their act together and give us a system call to set file time