<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<blockquote dir="auto">
<p>After git fsck the output of git rev-list matches what it should.</p>
</blockquote>
<p dir="auto">That is interesting to know. I never used <code>git fsck</code>.</p>
<blockquote dir="auto">
<p>Could it be that my fork as the default git strategy (ie git fetch), which could have caused some old ancestors to show up when running git rev-list ?</p>
</blockquote>
<p dir="auto">It looks like that, but I can just guess.</p>
<p dir="auto">My git strategy is that my Gitlab.com clone is 'origin' and I have the upstream repo as remote (called 'upstream'). I never work on master, and create each working branch based on master (e.g. <code>git checkout master; git checkout -b new-branch</code>). To be up-to-date I regularly <code>git checkout master; git pull --all --prune; git merge --ff-only upstream/master; git push</code>. After that it's straight forward to rebase a branch / MR with <code>git checkout mr-branch; git rebase master; git push --force-with-lease</code>.</p>
<p dir="auto">So far, I never had an issue with that through all my project clones.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/931#note_142675994">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/be1572f935f2f8fc6d3361e75e4ea29d/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/931#note_142675994"}}</script>
</p>
</div>
</body>
</html>