-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong commit order when checking out buggy revision #324
Comments
The tags If you want to examine the actual development history, then use the commit ids listed in the
and so you can do a diff between the two given commits, and you can look at commits before them in the version history. |
Ok, I see. So the two given hashes in commit-db are the hash of the real buggy commit and the hash of the real fixed commit? |
That is correct, according to https://homes.cs.washington.edu/~rjust/defects4j/html_doc/Vcs.html. |
Perfect, this solves my issue. Thank you. On a side note: is there an easy way to get the name of test class that failed when ran on the buggy revision? |
You can use the You can also export the triggering test with the Hope this helps. |
This is perfect, thank you. |
Hi,
I am getting a wrong git history when checking out a buggy commit.
I executed:
and I got this:
As you can see BUGGY, FIXED and POST_FIX revisions are in the wrong order, infact the fix comes before the bug in the git history.
I am showing this because I am interested in the real commit that preceded BUGGY. Normally I would just do
git checkout HEAD^
, however in this case it would get me to FIXED_VERSION, which is not what I want. Would you know if the commit before POST_FIX, in this case 687b2e62, is the actual commit that preceded BUGGY?Thanks,
Gabriele
The text was updated successfully, but these errors were encountered: