Nicolas Pitre wrote:I didn't. I wanted to get rid of superfluous loose objects in the odb. So maybe we should deprecate git-lost-found? Since that was *also* designed for the scenario where one has lost a branch tip. Anyways, in this case the lost tip was the result of a git rebase, of which there are usually 20 or so every day in my reflog. I knew what the commit- subject was (roughly), but had no idea which of the 8 straight rebases that got lost. Why? I'd have no idea where I'd end up. I can't remember exactly what I did to my branch head more than 5 revs (or 15 minutes) ago, and since the reflog provides "subject-by-action" instead of "subject-by-commit" it's, imo, much less usable for recovering lost branch-heads. Not really. It's cluttered to uselessness with "switched from branch foo to branch bar" "rebase" (without commit-subject) and "merge x: fast forward". Had I only remembered the exact wording in the commit-subject I'd have found it a lot faster with "git-lost-found | grep wording" than I would have if I'd used the reflog from the start. Since I (usually) meticulously store lightweight tags everywhere I think there's a risk I'll need it, and also prune regularly, I simply expected git-lost-found to be a little less verbose. I had forgotten that the reflog protects the otherwise prunable objects, which, in combination with my unwise usage of this particular repo as an educational toy-repo landed me with a serious bunch of loose tips. Anyways, problem solved now. I'll just expire the reflog before I prune and continue to use git-lost-found to recover loose tips when I need it. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Justin C. Sherrill | Re: pkgsrc bulk build and tiff |
| Jeremy Allison | Re: [RFC] Heads up on sys_fallocate() |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
| Matt Thomas | Re: Add a MAP_ALIGNED flag for mmap(2). |
| Vsevolod Stakhov | Unicode support in iso9660. |
| Jaromir Dolecek | Re: Speeding up fork/wait path |
| matthew green | re: merge of freebsd eventhandler |
git: | |
| Petr Janda | KDE and OpenSSL = Broken |
| sam | Re: Loader not found |
| Erick Perez | Re: dragonfly pdf documentation |
| Michel Talon | Re: Compatability with FreeBSD Ports [debian package tools] |
