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

Re: [PATCH 2/2] add test-dump-cache-tree in Makefile

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 4, 2009, 09:31 UTC
Message-ID
<m34ozawnte.fsf@localhost.localdomain>
In-Reply-To
<1233781241-721-2-git-send-email-guanqun.lu@gmail.com>
Guanqun Lu <guanqun.lu@gmail.com> writes:
Show 5 quoted lines
>  dump-cache-tree.c      |   64 ------------------------------------------------
>  test-dump-cache-tree.c |   64 ++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 65 insertions(+), 64 deletions(-)
>  delete mode 100644 dump-cache-tree.c
>  create mode 100644 test-dump-cache-tree.c
> diff --git a/dump-cache-tree.c b/dump-cache-tree.c
> deleted file mode 100644
> index 1f73f1e..0000000
> diff --git a/test-dump-cache-tree.c b/test-dump-cache-tree.c
> new file mode 100644
> index 0000000..1f73f1e

Minor nit: it would be better to use git-format-patch with '-M' option (detect renames) here. It would result in shorter and more readable patch:

 dump-cache-tree.c => test-dump-cache-tree.c |  0
 3 files changed, 1 insertions(+), 0 deletions(-)
 rename dump-cache-tree.c => test-dump-cache-tree.c (100%)
diff --git a/dump-cache-tree.c b/test-dump-cache-tree.c
similarity index 100%
rename from dump-cache-tree.c
rename to test-dump-cache-tree.c

Or something like that...
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Junio C HamanoNext: Mikael Magnusson
Message 7 of 8 in “fix typo in Documentation”
  1. 1/2 fix typo in DocumentationGuanqun Lu, Feb 4, 2009
  2. Sverre RabbelierFeb 4, 2009
  3. Jakub NarebskiFeb 4, 2009
  4. Guanqun LuFeb 5, 2009
  5. 2/2 add test-dump-cache-tree in MakefileGuanqun Lu, Feb 4, 2009
  6. Junio C HamanoFeb 4, 2009
  7. Jakub NarebskiFeb 4, 2009
  8. Mikael MagnussonFeb 6, 2009

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.