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

Re: [PATCH 4/8] contrib/subtree: Code cleaning and refactoring

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 18, 2013, 22:55 UTC
Message-ID
<7vy5el8c6b.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1361221013-12756-5-git-send-email-greened@obbligato.org>
"David A. Greene" <greened@obbligato.org> writes:
Show 7 quoted lines
> From: Techlive Zheng <techlivezheng@gmail.com>
>
> Mostly prepare for the later tests refactoring.
>
> Signed-off-by: Techlive Zheng <techlivezheng@gmail.com>
> Signed-off-by: David A. Greene <greened@obbligato.org>
> ---
Applying: contrib/subtree: Code cleaning and refactoring
/srv/project/git/git.git/.git/rebase-apply/patch:219: space before tab in indent.
 	git branch spl1 "$spl1" &&
/srv/project/git/git.git/.git/rebase-apply/patch:222: space before tab in indent.
 	undo
/srv/project/git/git.git/.git/rebase-apply/patch:239: space before tab in indent.
 	undo &&
/srv/project/git/git.git/.git/rebase-apply/patch:269: space before tab in indent.
 	git subtree split --unannotate="subproj:" --prefix subdir --onto FETCH_HEAD --branch splitunann &&
Show 13 quoted lines
>  contrib/subtree/t/t7900-subtree.sh |  256 +++++++++++++++++++-----------------
>  1 file changed, 136 insertions(+), 120 deletions(-)
>
> diff --git a/contrib/subtree/t/t7900-subtree.sh b/contrib/subtree/t/t7900-subtree.sh
> index c7f9e1a..3787408 100755
> --- a/contrib/subtree/t/t7900-subtree.sh
> +++ b/contrib/subtree/t/t7900-subtree.sh
> @@ -4,7 +4,7 @@
>  #
>  test_description='Basic porcelain support for subtrees
>  
> -This test verifies the basic operation of the merge, pull, add
> +This test verifies the basic operation of the add, pull, merge

Why this change? The new list does not match the order of things that are tested ("add" is not the first thing that gets tested), it is not alphabetical either ("pull" sorts earlier than "merge"), nor it is the natural progression of operation users would expect (it would be more like "add" to start working with subtree, then "merge" locally and finally "pull" to interact with others, no?)

Previous: David A. GreeneNext: David A. Greene
Message 8 of 12 in “Subtree Fixes Updates”
  1. David A. GreeneFeb 18, 2013
  2. 1/8 contrib/subtree: Use %B for split subject/bodyDavid A. Greene, Feb 18, 2013
  3. Junio C HamanoFeb 18, 2013
  4. 2/8 contrib/subtree: Fix whitespacesDavid A. Greene, Feb 18, 2013
  5. 3/8 contrib/subtree: Ignore testing directoryDavid A. Greene, Feb 18, 2013
  6. Junio C HamanoFeb 18, 2013
  7. 4/8 contrib/subtree: Code cleaning and refactoringDavid A. Greene, Feb 18, 2013
  8. Junio C HamanoFeb 18, 2013
  9. 5/8 contrib/subtree: Make each test self-containedDavid A. Greene, Feb 18, 2013
  10. 6/8 contrib/subtree: Handle '--prefix' argument with a slash appendedDavid A. Greene, Feb 18, 2013
  11. 7/8 contrib/subtree: Remove --annotateDavid A. Greene, Feb 18, 2013
  12. 8/8 Remove test artifaces from clean ruleDavid A. Greene, Feb 18, 2013

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.