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

Re: [PATCH] builtin/mv: Get rid of the last caller of get_pathspec

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Aug 3, 2015, 22:48 UTC
Message-ID
<CAPig+cT_YB=HY9dBo5eRNu4qvCqCXRwwXgpxCA8YjxagP+sHfA@mail.gmail.com>
In-Reply-To
<1438624382-31248-1-git-send-email-sbeller@google.com>
On Mon, Aug 3, 2015 at 1:53 PM, Stefan Beller <sbeller@google.com> wrote:
Show 7 quoted lines
> `get_pathspec` is deprecated and builtin/mv is its last caller, so getting
> rid of `get_pathspec` is rather easy. By getting rid of `get_pathspec`,
> the documentation such as 'technical/api-setup.txt' becomes easier to read
> as the reader doesn't need to bear with the additional fact that
> `get_pathspec` is deprecated.
>
> The code in 'builtin/mv' still requires some work to make it less ugly.

Perhaps split this into two patches? One to free git-mv of get_pathspec() dependence, and the second to actually retire get_pathspec().

> Signed-off-by: Stefan Beller <sbeller@google.com>
Previous: Stefan BellerNext: Stefan Beller
Message 2 of 9 in “builtin/mv: Get rid of the last caller of get_pathspec”
  1. builtin/mv: Get rid of the last caller of get_pathspecStefan Beller, Aug 3, 2015
  2. Eric SunshineAug 3, 2015
  3. 0/2 Remove get_pathspec finallyStefan Beller, Aug 6, 2015
  4. 1/2 builtin/mv: remove get_pathspec()Stefan Beller, Aug 6, 2015
  5. Eric SunshineAug 6, 2015
  6. Stefan BellerAug 6, 2015
  7. Eric SunshineAug 6, 2015
  8. Stefan BellerAug 6, 2015
  9. 2/2 pathspec: remove deprecated get_pathspecStefan Beller, Aug 6, 2015

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.