]> arthur.barton.de Git - bup.git/commit - lib/bup/index.py
Replace 040000 and 0100644 constants with GIT_MODE_{TREE,FILE}
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Feb 2011 02:02:12 +0000 (18:02 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Feb 2011 05:38:28 +0000 (21:38 -0800)
commit48c6f484d8fdaf2dedcdb645e10c7fca2c164400
treed0a1a5382ce94dfad94b188ff09df0160a6d9e8b
parent252c21db981dfdc23bae4c515929c3a4f814ddea
Replace 040000 and 0100644 constants with GIT_MODE_{TREE,FILE}

Those constants were scattered in *way* too many places.  While we're there,
fix the inconsistent usage of strings vs. ints when specifying the file
mode; there's no good reason to be passing strings around (except that I
foolishly did that in the original code in version 0.01).

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/index-cmd.py
cmd/save-cmd.py
lib/bup/git.py
lib/bup/hashsplit.py
lib/bup/index.py
lib/bup/vfs.py
t/test.sh