]> Dogcows Code - chaz/tar/commit
New option --sort=ORDER
authorSergey Poznyakoff <gray@gnu.org>
Thu, 13 Feb 2014 22:11:57 +0000 (00:11 +0200)
committerSergey Poznyakoff <gray@gnu.org>
Thu, 13 Feb 2014 22:26:49 +0000 (00:26 +0200)
commit29a6964af3e1baabe978ce608e0466e1250d08ab
tree6b062ea8bb327c04be5ec1618f3b4a53dacb95d5
parent62497f0e26bb504bd8e51c36ab4ce89643538e36
New option --sort=ORDER

This option makes tar sort the entries of directories that will be
added to an archive according to ORDER (none, name, or order).

Based on proposition by Dick Streefland (https://savannah.gnu.org/patch/?7892).

* src/common.h (savedir_sort_order): New global.
* src/create.c: Pass savedir_sort_order to streamsavedir.
* src/misc.c: Likewise.
* src/tar.c: New option --sort.

* NEWS: Update.
* doc/tar.texi: Document the --sort option.
* doc/tar.1: Likewise.
NEWS
doc/tar.1
doc/tar.texi
src/common.h
src/create.c
src/misc.c
src/tar.c
This page took 0.022208 seconds and 4 git commands to generate.