Re: [PATCH v6 04/32] refs: move resolve_ref_unsafe into common code

2016-02-24 Thread Junio C Hamano
David Turner writes: > + for (symref_count = 0; symref_count < SYMREF_MAXDEPTH; symref_count++) { > + int read_flags = 0; Continuing from the previous one, this becomes "unsigned int". -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to m

[PATCH v6 04/32] refs: move resolve_ref_unsafe into common code

2016-02-24 Thread David Turner
Now that resolve_ref_unsafe's only interaction with the backend is through read_raw_ref, we can move it into the common code. Later, we'll replace read_raw_ref with a backend function. Signed-off-by: David Turner --- refs.c | 104 ++ refs