git-commit-vandalism/builtin
Thomas Gummerer b60e188c51 Strip namelen out of ce_flags into a ce_namelen field
Strip the name length from the ce_flags field and move it
into its own ce_namelen field in struct cache_entry. This
will both give us a tiny bit of a performance enhancement
when working with long pathnames and is a refactoring for
more readability of the code.

It enhances readability, by making it more clear what
is a flag, and where the length is stored and make it clear
which functions use stages in comparisions and which only
use the length.

It also makes CE_NAMEMASK private, so that users don't
mistakenly write the name length in the flags.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-07-11 09:42:45 -07:00
..
add.c Merge branch 'jc/ls-files-i-dir' 2012-06-21 14:42:07 -07:00
annotate.c
apply.c Strip namelen out of ce_flags into a ce_namelen field 2012-07-11 09:42:45 -07:00
archive.c
bisect--helper.c
blame.c Strip namelen out of ce_flags into a ce_namelen field 2012-07-11 09:42:45 -07:00
branch.c
bundle.c
cat-file.c
check-attr.c
check-ref-format.c
checkout-index.c
checkout.c Strip namelen out of ce_flags into a ce_namelen field 2012-07-11 09:42:45 -07:00
clean.c
clone.c Merge branch 'nd/clone-single-fix' 2012-07-04 23:41:41 -07:00
column.c
commit-tree.c
commit.c
config.c config: write to $XDG_CONFIG_HOME/git/config file when appropriate 2012-06-25 09:06:15 -07:00
count-objects.c
credential.c git credential fill: output the whole 'struct credential' 2012-06-25 11:56:24 -07:00
describe.c
diff-files.c
diff-index.c
diff-tree.c
diff.c
fast-export.c Merge branch 'js/fast-export-paths-with-spaces' 2012-07-09 09:02:06 -07:00
fetch-pack.c
fetch.c
fmt-merge-msg.c
for-each-ref.c
fsck.c
gc.c
grep.c Merge branch 'mm/verify-filename-fix' 2012-06-28 15:19:32 -07:00
hash-object.c
help.c Merge branch 'cw/help-over-network' 2012-07-09 09:02:19 -07:00
index-pack.c Merge branch 'rj/platform-pread-may-be-thread-unsafe' 2012-07-09 09:00:45 -07:00
init-db.c
log.c
ls-files.c
ls-remote.c
ls-tree.c
mailinfo.c
mailsplit.c
merge-base.c
merge-file.c
merge-index.c
merge-ours.c
merge-recursive.c
merge-tree.c
merge.c
mktag.c
mktree.c
mv.c
name-rev.c
notes.c
pack-objects.c
pack-redundant.c
pack-refs.c
patch-id.c
prune-packed.c
prune.c
push.c
read-tree.c
receive-pack.c
reflog.c
remote-ext.c
remote-fd.c
remote.c
replace.c
rerere.c
reset.c
rev-list.c
rev-parse.c Merge branch 'mm/verify-filename-fix' 2012-06-28 15:19:32 -07:00
revert.c
rm.c
send-pack.c
shortlog.c
show-branch.c
show-ref.c
stripspace.c
symbolic-ref.c
tag.c
tar-tree.c
unpack-file.c
unpack-objects.c
update-index.c Strip namelen out of ce_flags into a ce_namelen field 2012-07-11 09:42:45 -07:00
update-ref.c
update-server-info.c
upload-archive.c
var.c
verify-pack.c
verify-tag.c
write-tree.c