projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
10a32fa
57d84f8
)
Merge branch 'nd/index-errno' into maint-1.7.11
author
Junio C Hamano
<gitster@pobox.com>
Tue, 11 Sep 2012 17:53:21 +0000
(10:53 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 11 Sep 2012 17:53:21 +0000
(10:53 -0700)
* nd/index-errno:
read_index_from: remove bogus errno assignments
1
2
read-cache.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
read-cache.c
index 7d4bf68e33d35ebeb5e9f985ac5c9dc2962fc8ba,5a78d6b05fd87c4e2a96b294a51ba8659416c3aa..d8543e4d42f0cf7f8850751806cc40bc05578117
---
1
/
read-cache.c
---
2
/
read-cache.c
+++ b/
read-cache.c
@@@
-1407,9
-1273,7
+1407,8
@@@
int read_index_from(struct index_state
struct cache_header *hdr;
void *mmap;
size_t mmap_size;
+ struct strbuf previous_name_buf = STRBUF_INIT, *previous_name;
- errno = EBUSY;
if (istate->initialized)
return istate->cache_nr;