[PATCH]: Stop checking properties unnecessarily
From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-11-01 18:50:33 CET
This is actually a typo that nobody has noticed.
check_prop_mods in libsvn_client/commit_util.c called
110 *eol_prop_changed = *props_changed = FALSE;
We then check whether the returned *pointer* is null, which we know it
Thus, i'd imagine the compiler actually just removes this return.
The correct test is (! *props_changed)
This bug, btw, causes us to stat and read whole *ton* of files for no
Fixed thusly.
[[[
Fix check causing check_prop_mods to not early exit
* subversion/libsvn_client/commit_util.c
]]]
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.