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

Re: [PATCH] Cogito documentation updates

From
Jonas Fonseca <fonseca@diku.dk>
Date
Nov 23, 2005, 12:16 UTC
Message-ID
<20051123121651.GB19302@diku.dk>
In-Reply-To
<86veyn49gc.fsf@blue.stonehenge.com>
Randal L. Schwartz <merlyn@stonehenge.com> wrote Sun, Nov 20, 2005:
Show 5 quoted lines
> >>>>> "Jonas" == Jonas Fonseca <fonseca@diku.dk> writes:
> 
> Jonas>  - local cg-fetch now works without the cp option -u
> 
> But it still requires cp -d, unless some other patch fixed that recently.

Ah, yes. I just recently tried local cloning on a FreeBSD box and it worked fine (apart from it spitting out a few errors, see the log below) and since the caveat section only mentioned the -u option I thought everything was fine. However, cloning a specific branch hits the error. So maybe the caveat section should just be updated to say that the -d option is required.

---

$ cg clone cogito cogito-now defaulting to local storage area Hard links don't work - using copy Fetching head... /home/jonas/src/cogito/.git/HEAD -> .git/refs/heads/.origin-fetching Fetching objects... progress: 10289 objects, 16992385 bytes Fetching tags... error: missing object referenced by 'refs/tags/junio-gpg-pub' fatal: protocol error: bad line length character Failed to find remote refs unable to get tags list (non-fatal) New branch: 73874dddeec2d0a8e5cd343eec762d98314def63 Cloned to cogito-now/ (origin /home/jonas/src/cogito available as branch "origin")

$ cg clone cogito#cogito-0.10 cogito-0.10
cp: illegal option -- d
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN
       directory
       cg-fetch: unable to get the head pointer of branch cogito-0.10
       cg-clone: fetch failed
-- 
Jonas Fonseca
Previous: Randal L. SchwartzNext: Randal L. Schwartz
Message 3 of 9 in “Cogito documentation updates”
  1. Cogito documentation updatesJonas Fonseca, Nov 20, 2005
  2. Randal L. SchwartzNov 20, 2005
  3. Jonas FonsecaNov 23, 2005
  4. Randal L. SchwartzNov 23, 2005
  5. Andreas EricssonNov 23, 2005
  6. Junio C HamanoNov 23, 2005
  7. Linus TorvaldsNov 23, 2005
  8. Petr BaudisNov 27, 2005
  9. Cogito documentation updatesJonas Fonseca, Nov 26, 2005

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.