diff options
| author | Junio C Hamano <junkio@cox.net> | 2006-07-04 17:45:22 -0700 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-07-04 17:45:22 -0700 |
| commit | 58ecf5c1cd9b2f712f85e23f065d3214cd867a71 (patch) | |
| tree | dc4e14e70cabc3b164321932e97ba67bbdc52e3a /object.c | |
| parent | 4205eca8de6163385eb1b6eb6577ef7acfe116e7 (diff) | |
| download | git-58ecf5c1cd9b2f712f85e23f065d3214cd867a71.tar.gz | |
Re-fix clear_commit_marks().
Fix clear_commit_marks() enough to be usable in
get_merge_bases(), and retire now unused clear_object_marks().
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'object.c')
| -rw-r--r-- | object.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -235,12 +235,3 @@ void add_object_array(struct object *obj, const char *name, struct object_array objects[nr].name = name; array->nr = ++nr; } - -void clear_object_marks(unsigned mark) -{ - int i; - - for (i = 0; i < obj_hash_size; i++) - if (obj_hash[i]) - obj_hash[i]->flags &= ~mark; -} |
