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

Re: contrib/git-normal-to-bare.sh

From
Fredrik Gustafsson <iveqy@iveqy.com>
Date
May 27, 2013, 09:52 UTC
Message-ID
<20130527095240.GA530@paksenarrion.iveqy.com>
In-Reply-To
<CAOsGNSRm8QChOupsY_Z++qDOMh4hXq-9A_Z2X6uY5o-tFMNj0A@mail.gmail.com>
On Mon, May 27, 2013 at 07:43:13PM +1000, Zenaan Harkness wrote:
> In my later email, I changed it to mv - should have highlighted there
> was a change. I got bitten, on a small repo thankfully, where a perms
> or ownership problem caused the whole repo to disappear. So mv it is
> :)

Do you really need bash for that script or will it do with sh? I think sh is preferred.

Also a mv instead of a rm will require a lot of disc space if you have a big repository.

-- 
Med vänliga hälsningar
Fredrik Gustafsson

tel: 0733-608274
e-post: iveqy@iveqy.com
Previous: Zenaan HarknessNext: Felipe Contreras
Message 4 of 5 in “contrib/git-normal-to-bare.sh”
  1. Zenaan HarknessMay 27, 2013
  2. Matthieu MoyMay 27, 2013
  3. Zenaan HarknessMay 27, 2013
  4. Fredrik GustafssonMay 27, 2013
  5. Felipe ContrerasMay 29, 2013

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.