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

Re: [PATCH] Add --unannotate option to git-subtree

From
greened@obbligato.org <greened@obbligato.org>
Date
Jan 22, 2013, 08:41 UTC
Message-ID
<87d2wxfw4h.fsf@waller.obbligato.org>
In-Reply-To
<CABVa4NhwcD584ptSazOR9WvSWep1z+krhxkWDvUk8nXaF8EYxQ@mail.gmail.com>
James Nylen <jnylen@gmail.com> writes:
> Wow, I missed a bunch of emails on this.  Thanks for applying and for
> writing tests!
Sorry it took so long.
> This is as intended.  You wouldn't want subtree to modify commits that
> occurred in the full repository for project A.  Furthermore, you
> wouldn't have a "subproj:" commit in project A's standalone repo since
> it wasn't a subproject at that time.
Yes, that makes sense.
Show 6 quoted lines
> The --annotate option confused me because it was the reverse of what I
> wanted.  As in your example, a typical use would be 'add a file to
> subdir with message "subproj: add F3" ' to make it clear that you were
> committing to the "subproj" part of a larger repository.  Then, when
> splitting back out to subproj's main repository, you'd want to remove
> the prefix.
Ok.  I'll re-submit as part of the final sequence.
Thanks for the patch!
                            -David
Previous: James Nylen
Message 7 of 7 in “Add --unannotate option to git-subtree”
  1. Add --unannotate option to git-subtreeJames Nylen, Oct 9, 2012
  2. James NylenOct 16, 2012
  3. Herman van RinkOct 20, 2012
  4. greened@obbligato.orgDec 31, 2012
  5. greened@obbligato.orgJan 1, 2013
  6. James NylenJan 17, 2013
  7. greened@obbligato.orgJan 22, 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.