Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
#include "cache.h"
#include "csum-file.h"
#include "cache.h"
#include "csum-file.h"
-static int sha1flush(struct sha1file *f, unsigned int count)
+static void sha1flush(struct sha1file *f, unsigned int count)
count -= ret;
if (count)
continue;
count -= ret;
if (count)
continue;
}
if (!ret)
die("sha1 file '%s' write error. Out of diskspace", f->name);
}
if (!ret)
die("sha1 file '%s' write error. Out of diskspace", f->name);