From: "Horst H. von Brand" <vonbrand@inf.utfsm.cl>
To: git@vger.kernel.org
Subject: 1.5.0.rc0.gf4bf2: "git --bare gc" in bare repo deletes all!
Date: Tue, 02 Jan 2007 12:17:13 -0300 [thread overview]
Message-ID: <200701021517.l02FHDxr009615@laptop13.inf.utfsm.cl> (raw)
I did:
mkdir M
cd M
git --bare init-db
git --bare fetch git+ssh://localhost/SomeRepo
This got the (correct) 21 (loose) objects. OK, cleanup:
git --bare gc
this gives:
Generating pack...
Done counting 0 objects.
Nothing new to pack.
and the objects are gone, no pack there.
Same thing happens with plain "git gc". Not very nice...
Besides, you can "git --bare pull ...", and get a mishmash of repo +
checked out files, this should be forbidden. Also, "git status" reports a
bunch of repo files as untracked, "git ls-files" shows nothing at all.
I.e., handling of bare repos needs a workover.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria +56 32 2654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 2797513
reply other threads:[~2007-01-02 15:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200701021517.l02FHDxr009615@laptop13.inf.utfsm.cl \
--to=vonbrand@inf.utfsm.cl \
--cc=git@vger.kernel.org \
/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