summaryrefslogtreecommitdiff
path: root/metaentry.c
AgeCommit message (Collapse)Author
2015-09-03Make all license notices in files explicit about being GPLv2 only.Przemyslaw Pawelczyk
Turn version 2 of the License into only version 2 of the License is applicable and restore the semicolon preceding it.
2015-09-03Make all license notices in source files formatted the same way.Przemyslaw Pawelczyk
Wording has been changed only in Makefile, where: Free Software has been fixed into proper name: Free Software Foundation, Inc. with trailing comma separating it from address.
2015-09-02metaentry.c: Use realpath() instead of GNU-ish canonicalize_file_name().Przemyslaw Pawelczyk
canonicalize_file_name() is not portable, but it can be easily replaced. Now we're a bit friendlier to non-GNU libcs, like musl.
2015-02-08Use sys/xattr.h instead of attr/xattr.h.Ken Dawson
xattr.h from libattr is not necessary, because glibc ships its own xattr.h for many years already (since v2.3, so it's like 13 years). libattr's header included errno.h, thus now it needs to be included explicitly. Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
2015-02-07Avoid comparison between signed and unsigned integers.Dan Fandrich
This removes warnings shown during build with -Wextra flag. Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
2015-02-07metaentry.c: Fix compilation when DEBUG is defined.Dan Fandrich
Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
2013-05-03Simplify mentries_recurse*() functions.Przemyslaw Pawelczyk
Remove duplicated code introduced by 47fa5ae and use settings instead.
2013-05-03Introduce settings structure.Przemyslaw Pawelczyk
No more passing particular options (like git or mtime) to functions. The structure is meant to be immutable after filling during startup.
2012-02-10Add option preventing metastore from omitting .git dirs.Przemyslaw Pawelczyk
2008-06-23Add dynamic metafile pathDavid Härdeman
In some situations it may be useful to have multiple sets of metadata for the same hierarchy (e.g. representing how a file set should appear on different hosts). The ability to select a metadata file may be useful in this case. Patch by Sergio Callegari <sergio.callegari@gmail.com>
2008-03-20First stab at supporting the option of automatically creating emptyDavid Härdeman
directories which are missing. This should help with Debian BR #460998
2008-03-20Detect whether the underlying FS supports xattrsDavid Härdeman
No support for xattrs is treated the same as a file having no xattrs on a file system which does support xattrs. This should fix Debian BR #470184
2008-03-20Fix unhelpful error messagesDavid Härdeman
(thanks to bug report forwarded by Joey Hess <joey@kitenet.net>)
2007-05-23Simplify mentry_insertDavid Härdeman
2007-05-21Free some temporarily allocated memoryDavid Härdeman
2007-05-21Add caching uid/gid lookup functionsDavid Härdeman
2007-05-21Use hash tables instead of linked lists for a nice speedup at the cost of ↵David Härdeman
sorted output
2007-05-20Improve some error messages.David Härdeman
2007-05-19Improve some variable names and add comments to the last few functionsDavid Härdeman
2007-05-19Remove the need for a global variable (do_mtime)David Härdeman
2007-05-1980-col align code, add license headersDavid Härdeman
2007-05-19Change all printf() calls to msg() calls and clean up outputDavid Härdeman
2007-05-18Split meta entry functions into a separate fileDavid Härdeman