diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2012-04-25 22:35:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-25 14:51:19 -0700 |
commit | 2e7da8e9f436f58730c087144763d3e45b6572c4 (patch) | |
tree | e8dea4e3ceab6a15de725cc2404d8e3ffb55f869 /notes.h | |
parent | sequencer: export commit_list_append() (diff) | |
download | tgif-2e7da8e9f436f58730c087144763d3e45b6572c4.tar.xz |
revision: append to list instead of insert and reverse
By using commit_list_insert(), we added new items to the top of the
list and, since this is not the order we want, reversed it afterwards.
Simplify this process by adding new items at the bottom instead,
getting rid of the reversal step.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.h')
0 files changed, 0 insertions, 0 deletions