projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the simple scripts I used to do a merge with content conflicts.
[git.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index
042b0c2
..
8571ba2
100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-402,7
+402,6
@@
int add_cache_entry(struct cache_entry *ce, int ok_to_add)
if (pos < active_nr && ce_stage(ce) == 0) {
while (same_name(active_cache[pos], ce)) {
ok_to_add = 1;
- active_nr--;
if (!remove_entry_at(pos))
break;
}