Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

git history order strange

From: Jan Engelhardt <hidden>
Date: 2016-06-15 22:44:21

Hi,



I have noticed that git-rev-list can output commit IDs in the wrong 
order. Steps to reproduce:

	git-clone git://git.kernel.org/pub/scm/git/git.git
	git-rev-list 3bddd7d

this will output

	...lots of IDs...
	8e1454b5ad285ec5dd25758e799c589045aff9d4
	6b7d25d97bdb8a26719f90d17ff5c9720be68762
	...lots of more IDs...

but this order seems to be the wrong way around, as 8e14 is the parent 
of 6b7d:

	git-log --pretty=raw 6b7d25d
	commit 6b7d25d97bdb8a26719f90d17ff5c9720be68762
	tree 661dce6a7e0f319fa1c53eb94c34585ee52190e4
	parent 8e1454b5ad285ec5dd25758e799c589045aff9d4

To be noted that it only happens with `git-rev-list`, but not with 
`git-rev-list --date-order` or `git-rev-list --topo-order`.
Is it a bug in git-rev-list w/o arguments, or do I have to expect
commits in random reverse order?


thanks,
Jan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help