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

Re: What's in git.git

From
Junio C Hamano <junkio@cox.net>
Date
Mar 22, 2006, 05:46 UTC
Message-ID
<7v64m7av6o.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<867j6nm47b.fsf@blue.stonehenge.com>
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 9 quoted lines
>>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
>
>>> But this wastes a commit.  Is there any way to get an index that simply
>>> includes the file from that other branch?
>
> Junio>         $ git checkout master
> Junio>         $ git checkout next git-cvsimport.perl
>
> Yow.  How simple is *that*?  Thanks.

There is one thing you would want to be careful about. This updates the index.

Previous: Randal L. SchwartzNext: Linus Torvalds
Message 6 of 10 in “What's in git.git”
  1. Junio C HamanoMar 22, 2006
  2. Randal L. SchwartzMar 22, 2006
  3. Randal L. SchwartzMar 22, 2006
  4. Junio C HamanoMar 22, 2006
  5. Randal L. SchwartzMar 22, 2006
  6. Junio C HamanoMar 22, 2006
  7. Linus TorvaldsMar 22, 2006
  8. Bertrand JacquinMar 22, 2006
  9. Petr BaudisMar 22, 2006
  10. Junio C HamanoMar 22, 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.