File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -70,21 +70,9 @@ static void show_commit(struct commit *commit)
7070 if (revs .parents ) {
7171 struct commit_list * parents = commit -> parents ;
7272 while (parents ) {
73- struct object * o = & (parents -> item -> object );
73+ printf ( " %s" , sha1_to_hex (parents -> item -> object . sha1 ) );
7474 parents = parents -> next ;
75- if (o -> flags & TMP_MARK )
76- continue ;
77- printf (" %s" , sha1_to_hex (o -> sha1 ));
78- o -> flags |= TMP_MARK ;
7975 }
80- /* TMP_MARK is a general purpose flag that can
81- * be used locally, but the user should clean
82- * things up after it is done with them.
83- */
84- for (parents = commit -> parents ;
85- parents ;
86- parents = parents -> next )
87- parents -> item -> object .flags &= ~TMP_MARK ;
8876 }
8977 if (revs .commit_format == CMIT_FMT_ONELINE )
9078 putchar (' ' );
You can’t perform that action at this time.
0 commit comments