git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* killing a branch
@ 2006-01-10 10:22 Jens Axboe
  2006-01-10 10:25 ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: Jens Axboe @ 2006-01-10 10:22 UTC (permalink / raw)
  To: git

Hi,

When I need to delete a branch from my git tree, I'm currently using
this (slooow) approach:

$ rm .git/refs/heads/branch-name
$ git prune

to rid myself of the branch and associated objects. Is there a faster
approach?

(please cc me, not on the list)

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: killing a branch
@ 2006-01-12  9:57 linux
  0 siblings, 0 replies; 8+ messages in thread
From: linux @ 2006-01-12  9:57 UTC (permalink / raw)
  To: git

Note that "git prune" could be sped up ENORMOUSLY if git-fsck-cache
could be taught to (optionally) not open, uncompress, hash, and
verify any blob objects.  Just assume that they're okay.

I had a look at the code briefly, but it was a little bit hairier (a
more invasive change) than I felt like dealing with.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-01-12  9:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-10 10:22 killing a branch Jens Axboe
2006-01-10 10:25 ` Junio C Hamano
2006-01-10 10:35   ` Jens Axboe
2006-01-10 10:52     ` Junio C Hamano
2006-01-10 11:26       ` Jens Axboe
2006-01-10 17:12         ` Linus Torvalds
2006-01-10 18:59           ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2006-01-12  9:57 linux

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).