git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: 程洋 <chengyang@xiaomi.com>
To: "lilinchao@oschina.cn" <lilinchao@oschina.cn>,
	Bagas Sanjaya <bagasdotme@gmail.com>, git <git@vger.kernel.org>
Cc: 何浩 <hehao@xiaomi.com>, "Xin7 Ma 马鑫" <maxin7@xiaomi.com>
Subject: 回复: RE: [External Mail]Re: Git fork process infinitely and never stop
Date: Wed, 6 Jul 2022 14:03:08 +0000	[thread overview]
Message-ID: <e071496cfdb04cce8eac322febb6af45@xiaomi.com> (raw)
In-Reply-To: <202207061520052718298@oschina.cn>

To lilinchao:
>So the repo "git/gerrit" is hosted in your local? and how you "copy" it to your own PC?
1. git/gerrit is hosted on remote server
               2. I just scp the whole repository of the user who reproduce the problem to our own PC. And then we can reproduce it on our own PC.

To Johannes:
> Hooks may also play a role.
We do have some hooks. But I don't think they're related. Because even I delete those hooks, the problem stands still

To Ævar Arnfjörð:
>I assume you can't share the repo, but perhaps try if you can reproduce it with a "git fast-export --anonymize" version of it, and if so whether you'd be willing to share that. It will publish the "shape of the history" of the repo, but not any meaningful data (all commits, trees, blobs etc. are replaced).
`git fast-export --anonymize` just output is empty. If I try `git fast-export --anonymize --all`, it seems to fetch first, which goes into the infinite loop again

>The YouTube video shows that you're using various options to git-fetch, including filters, refspecs etc. Does a plain "git fetch" reproduce this, and if not what's the option (try adding them one at a time &
>experiment) that needs to be added to trigger this?

`git fetch` also has this problem.

I somewhat suspect some --filter funny business, but that's just a hunch...
It seems to happen after I told my team to use "partial-clone" AND "git v2.36.1".  I'm not sure which one is the cause or both of them cause this.
#/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from XIAOMI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!******/#

  reply	other threads:[~2022-07-06 14:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04  9:44 Git fork process infinitely and never stop 程洋
2022-07-05 12:32 ` Bagas Sanjaya
2022-07-05 15:25   ` [External Mail]Re: " 程洋
2022-07-05 22:50     ` Ævar Arnfjörð Bjarmason
2022-07-06  5:34       ` Johannes Sixt
2022-07-06  7:21     ` lilinchao
2022-07-06 14:03       ` 程洋 [this message]
     [not found]         ` <11f76b2382934edcb97eb201f0a78a67@xiaomi.com>
2022-07-07 17:54           ` 程洋
2022-07-08 10:45           ` 程洋
2022-07-09  0:26             ` possible bug with commit-graph causing git to fork bomb (was Re: [External Mail]Re: Git fork process infinitely and never stop) Carlo Marcelo Arenas Belón
2022-07-09  0:52               ` Han Xin
2022-07-09  6:39                 ` Carlo Arenas
2022-07-11  4:11                   ` 程洋
2022-09-27 14:25                   ` 程洋

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e071496cfdb04cce8eac322febb6af45@xiaomi.com \
    --to=chengyang@xiaomi.com \
    --cc=bagasdotme@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=hehao@xiaomi.com \
    --cc=lilinchao@oschina.cn \
    --cc=maxin7@xiaomi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).