From: Andreas Ericsson <ae@op5.se>
To: Erik Mouw <erik@harddisk-recovery.com>
Cc: git@vger.kernel.org
Subject: Re: Safe way to remove .temp objects?
Date: Thu, 26 Jan 2006 12:18:09 +0100 [thread overview]
Message-ID: <43D8AFF1.2080106@op5.se> (raw)
In-Reply-To: <20060126093507.GA5118@harddisk-recovery.nl>
Erik Mouw wrote:
> Hi,
>
> After a git repack, git count-objects reports there are still 20
> objects in the repository. It looks like those are temp objects:
>
> erik@arthur:~/git/linux-2.6 > ls .git/objects/??/
> .git/objects/14/:
> d6545767f5103b5ef4702bc8fffa18dbe32ce1.temp
>
> .git/objects/1a/:
> d37b580be4215f1b0927b7560f5e8b8d1bc0fa.temp
>
> [...]
>
> Is there a git command to remove those objects in a safe way, or can I
> just rm them without "harming" git??
>
>
$ git prune-packed
When you repack, you can run
$ git repack -d
to remove loose objects when you're done packing.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
next prev parent reply other threads:[~2006-01-26 11:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-26 9:35 Safe way to remove .temp objects? Erik Mouw
2006-01-26 11:18 ` Andreas Ericsson [this message]
2006-01-26 12:24 ` Junio C Hamano
2006-01-27 10:14 ` Erik Mouw
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=43D8AFF1.2080106@op5.se \
--to=ae@op5.se \
--cc=erik@harddisk-recovery.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.