Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fast-import: make code "-Wpointer-arith" clean
The dereference() function to peel a tree-ish and find the underlying tree expects arithmetic to (void *) to work on byte addresses. We should be reading the text of objects through a char * anyway. Noticed-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
- Loading branch information