Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/lib-httpd.sh: use the $( ... ) construct for command substitution
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 2a9463bd670631dcf96ed456ed23e65b7b84f6d4..9404a05eeb4adf7e8c1efeed7e16af2c2504aefa 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-135,10
+135,12
@@
static void mark_tree_contents_uninteresting(struct tree *tree)
void mark_tree_uninteresting(struct tree *tree)
{
- struct object *obj
= &tree->object
;
+ struct object *obj;
if (!tree)
return;
+
+ obj = &tree->object;
if (obj->flags & UNINTERESTING)
return;
obj->flags |= UNINTERESTING;