do not write null sha1s to on-disk index
[gitweb.git] / builtin.h
index 857b9c8aa85fff5764b528485a880cd9dfa95b17..47f540f37f908c7539bcdbde5dd7550af8c92e72 100644 (file)
--- a/builtin.h
+++ b/builtin.h
@@ -42,7 +42,7 @@ void finish_copy_notes_for_rewrite(struct notes_rewrite_cfg *c);
 
 extern int check_pager_config(const char *cmd);
 
-extern int textconv_object(const char *path, unsigned mode, const unsigned char *sha1, char **buf, unsigned long *buf_size);
+extern int textconv_object(const char *path, unsigned mode, const unsigned char *sha1, int sha1_valid, char **buf, unsigned long *buf_size);
 
 extern int cmd_add(int argc, const char **argv, const char *prefix);
 extern int cmd_annotate(int argc, const char **argv, const char *prefix);