git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC PATCH 1/1] recover: restoration of deleted worktree files

From
Todd Zullinger <tmz@pobox.com>
Date
Aug 4, 2018, 17:33 UTC
Message-ID
<20180804173340.GK3764@zaya.teonanacatl.net>
In-Reply-To
<alpine.LFD.2.21.1808041214550.28242@localhost.localdomain>
Hi,
Robert P. J. Day wrote:
Show 12 quoted lines
> On Sat, 4 Aug 2018, Junio C Hamano wrote:
>> In other words, I think this patch can be a fine addition to
>> somebody else's project (i.e. random collection of scripts that may
>> help Git users), so let's see how I can offer comments/inputs to
>> help you improve it.  So I won't comment on lang, log message, or
>> shell scripting style---these are project convention and the
>> git-core convention won't be relevant to this patch.
> 
>   not sure how relevant this is, but fedora bundles a bunch of neat
> utilities into two packages: git-tools and git-extras. i have no idea
> what relationship those packages have to official git, or who decides
> what goes into them.

For anyone curious, those packages (git-extras and git-tools) are both entirely separate projects upstream and in the fedora packaging. A git-recover script may well be a good fit in one of those upstream projects.

The git-(extras|tools) package names are a bit confusing IMO. But it's probably more confusing that they each add a number of git-* commands in the default PATH the way they're packaged.

We do package some bits from contrib/ (e.g. completion, subtree, etc.) in the fedora git packages. We don't add scripts and commands from outside of the git tarballs as part of the fedora git package, though.

So far, I don't recall anyone filing a bug report about commands from git-extras or git-tools against git. So it seems that users of those additional packages aren't being confused, thankfully.

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Between two evils, I always pick the one I never tried before.
    -- Mae West
Previous: Robert P. J. DayNext: Jonathan Nieder
Message 7 of 8 in “Introduce git-recover”
  1. 0/1 Introduce git-recoverEdward Thomson, Aug 4, 2018
  2. 1/1 recover: restoration of deleted worktree filesEdward Thomson, Aug 4, 2018
  3. Junio C HamanoAug 4, 2018
  4. Edward ThomsonAug 4, 2018
  5. Junio C HamanoAug 4, 2018
  6. Robert P. J. DayAug 4, 2018
  7. Todd ZullingerAug 4, 2018
  8. Jonathan NiederAug 5, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.