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

Re: adding file by absolute name -- problem

From
Junio C Hamano <junkio@cox.net>
Date
Apr 23, 2007, 10:04 UTC
Message-ID
<7v8xcjh0e8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<f36b08ee0704230239i4892983q4feb4a1872a320ea@mail.gmail.com>
"Yakov Lerner" <iler.ml@gmail.com> writes:
> When I give absolute pathname /a/b/repo/d to git add, it
> mostly does not work. I get errors from git-add. Is it by design ?

It's pretty much by design in the sense that none of us felt any need for accepting absolute pathnames, and I personally still don't. But I do not have a strong feeling against accepting a patch series that adds support for accepting absolute pathnames, as long as it is done cleanly and obviously.

Previous: Yakov LernerNext: Johannes Schindelin
Message 2 of 9 in “adding file by absolute name -- problem”
  1. Yakov LernerApr 23, 2007
  2. Junio C HamanoApr 23, 2007
  3. Johannes SchindelinApr 23, 2007
  4. Yakov LernerApr 23, 2007
  5. Yakov LernerApr 23, 2007
  6. Johannes SchindelinApr 23, 2007
  7. Julian PhillipsApr 23, 2007
  8. Carlos RicaApr 23, 2007
  9. Johannes SchindelinApr 23, 2007

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.