Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [osee-dev] Deleted git commits

Hi, DongGyun –

 

Just a quick answer. I don’t have time to check all of them, but in this case, I found the commit in the repository.

 

Try using the gerrit change id for your search instead of the SHA1 commit id. The change id remains the same even if the code is re-based.

 

$ git log | grep -7 Ic2049c

 

commit 40b7a46744e8a49194bb30fe2c682634e47f1cdc

Author: mpotterc0k <marc.a.potter@xxxxxxxxxx>

Date:   Wed Jan 30 11:26:40 2013 -0800

 

    feature[ats_P63MP]: Change artifacts and attributes for DOORS import

 

    Change-Id: Ic2049c4376d7879aef08fbd850a72484124078a6

 

From: osee-dev-bounces@xxxxxxxxxxx [mailto:osee-dev-bounces@xxxxxxxxxxx] On Behalf Of Han, Donggyun
Sent: Wednesday, August 19, 2015 3:44 AM
To: osee-dev@xxxxxxxxxxx
Subject: [osee-dev] Deleted git commits

 

Dear OSEE developers,

 

This is DongGyun, PhD student at the department of computer science at University College London.

Recently, I am conducting research about code review process in open source project.

I’ve found interesting practice while inspecting Eclipse gerrit code review.

Several issues are flagged as MERGED while all commits are deleted in the git repository.

For example, the below issue is labeled as MERGED, but I could not locate the current commit in git repository:

 

[handk@handk org.eclipse.osee]$ git show 440ae2f5061c1c68e5e0ba8ab67bb54f3ec7410d

fatal: bad object 440ae2f5061c1c68e5e0ba8ab67bb54f3ec7410d

 

I found 876 cases as above in OSEE project.

(issue number #10071, #10072, #10110, #10175, #10176, #10220, #10264,… )

Is there any special reason that you delete the commits in Git repository which are labeled as MERGED in Gerrit?

Many thanks in advance.

 

Best Regards,

DongGyun

 

DongGyun Han

Research Student

Centre of Research on Evolution Search and Testing (CREST)

Department of Computer Science

University College London

Homepage: http://dklab.net


Back to the top