Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/gitweb-raw-blob-link-in-history' into next
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index 56721cf03db23a2f5a1b8e9419422df916d7b00f..d562f2ec69c28f9cecf7da07e71374ae9aecad93 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-280,7
+280,7
@@
static int add_one_path(const struct cache_entry *old, const char *path, int len
fill_stat_cache_info(ce, st);
ce->ce_mode = ce_mode_from_stat(old, st->st_mode);
- if (index_path(
ce->oid.hash
, path, st,
+ if (index_path(
&ce->oid
, path, st,
info_only ? 0 : HASH_WRITE_OBJECT)) {
free(ce);
return -1;