Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: rename 'this' variables
author
Brandon Williams
<bmwill@google.com>
Wed, 14 Feb 2018 18:59:26 +0000
(10:59 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 14 Feb 2018 21:10:05 +0000
(13:10 -0800)
Rename C++ keyword in order to bring the codebase closer to being able
to be compiled with a C++ compiler.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
abeacb2
)
diff --git
a/builtin/pack-objects.c
b/builtin/pack-objects.c
index 6b9cfc289d87b543b747c4024504703a2e0d6641..bfda8602c43ec02ae4c522af6f8970cf392d32df 100644
(file)
--- a/
builtin/pack-objects.c
+++ b/
builtin/pack-objects.c
@@
-1376,10
+1376,10
@@
static void cleanup_preferred_base(void)
it = pbase_tree;
pbase_tree = NULL;
while (it) {
- struct pbase_tree *t
his
= it;
- it = t
his
->next;
- free(t
his
->pcache.tree_data);
- free(t
his
);
+ struct pbase_tree *t
mp
= it;
+ it = t
mp
->next;
+ free(t
mp
->pcache.tree_data);
+ free(t
mp
);
}
for (i = 0; i < ARRAY_SIZE(pbase_tree_cache); i++) {