On Sat, Mar 21, 2015 at 11:39 AM, Alexander Potashev <aspotas...@gmail.com> wrote: > Hi,
Hi Alexander, > > I noticed that not all of the commits from the KWordQuiz repository > are present in my working clone. > > Let's start with my use case. I tried to track down where a i18n > string was broken and "git blame" pointed me to a merge commit > (e2d5c497 " > Merge frameworks branch into master" [1]). The first problem was that, > because there was a merge, I couldn't easily see what exact commits > from the merged sequence of commits was guiltly. > > OK, I decided to see them all. No such luck - those commits do not > exist in my clone, i.e. "git show > 7c708a619e344c6b835eaa7753518ee8ace24861" does not work for example. > But if I watch it in at projects.kde.org, it works! [2] > > Two questions: > 1. How can I pull those obscure commits from the server? I guess a > normal "git clone" did not pull them because the "frameworks" branch > the merge has been done from is now gone. It isn't gone, not entirely anyway. All repositories on git.kde.org are protected by a backup mechanism within our hooks which preserves refs in the event of destructive operations. These can be found under refs/backups/* and cannot be altered (the hooks won't permit you to do anything to these refs). > 2. If someone runs "git gc" on the server, will the respective Git > objects for those commits be removed permanently? Due to the above backup refs, no commits will ever be lost due to git gc or repacking. > > [1] > https://projects.kde.org/projects/kde/kdeedu/kwordquiz/repository/revisions/e2d5c497e8e9e41b3b5adf94bb4ec23422292c00 > [2] > https://projects.kde.org/projects/kde/kdeedu/kwordquiz/repository/revisions/7c708a619e344c6b835eaa7753518ee8ace24861 > > -- > Alexander Potashev Regards, Ben > >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<