]> arthur.barton.de Git - bup.git/commit
Add a --no-check-device option to bup index (cf. tar).
authorZak Wilcox <iwilcox@iwilcox.me.uk>
Fri, 1 Jun 2012 09:10:36 +0000 (10:10 +0100)
committerRob Browning <rlb@defaultvalue.org>
Mon, 18 Mar 2013 01:22:32 +0000 (20:22 -0500)
commit1eafa883ab462f73d3edbb3ce10d71706935a29c
tree51a5448f3cb110688eb95fd00d03f7c537761f8e
parent145dedd7347ab16301c67cd7048759fd7fe4da1b
Add a --no-check-device option to bup index (cf. tar).

Ignore stat.st_dev when comparing files against existing index entries, like
git does without #define USE_STDEV:

  http://www.kernel.org/pub/software/scm/git/docs/v1.7.10.1/technical/racy-git.txt

See also: "info tar".

Signed-off-by: Zak Wilcox <iwilcox@iwilcox.me.uk>
[rlb@defaultvalue.org: change original --ignore-dev to --no-check-device to match tar.
 Adjust code to work with current master.
 Remove tests -- will be reintroduced shortly.]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/index-cmd.py
lib/bup/index.py