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

Re: [PATCH] Make git-mv a builtin

From
Junio C Hamano <junkio@cox.net>
Date
Jul 26, 2006, 05:47 UTC
Message-ID
<7vk660udcn.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0607260348130.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> This also moves add_file_to_index() to read-cache.c. Oh, and while
> touching builtin-add.c, it also removes a duplicate git_config() call.

I'd have preferred to see this not depend on uncooked merge-recur infrastructure, since it is very likely that this would be ready to graduate to "master" before merge-recur.

I've branched from "master" and placed the path-list stuff which was split out of the merge-recur WIP, and applied this patch with some trivial adjustment, and will place it on "pu", so I'd appreciate if you can double check the result.

> diff --git a/builtin.h b/builtin.h
> index 5339d86..6f3a439 100755
Huh -- 100755?
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 6 in “Make git-mv a builtin”
  1. Make git-mv a builtinJohannes Schindelin, Jul 26, 2006
  2. Junio C HamanoJul 26, 2006
  3. Johannes SchindelinJul 26, 2006
  4. Extend testing git-mv for renaming of subdirectoriesJosef Weidendorfer, Jul 26, 2006
  5. Johannes SchindelinJul 26, 2006
  6. Josef WeidendorferJul 26, 2006

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.