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

Re: [PATCH] git-commit: revamp the git-commit semantics.

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Feb 5, 2006, 22:08 UTC
Message-ID
<43E67745.2080302@gmail.com>
In-Reply-To
<7v64ntindq.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano ha scritto:
Show 18 quoted lines
> I was planning to think about the migration strategy _after_ I
> get the feeling that everybody who got confused by the current
> one thinks this is a good change, and I am glad you did that
> work for me ;-).
> 
> I think it is sane to add a no-op '--include' to the current
> version.
> 
> I am not sure if it is worth to take two-phased introduction of
> this new "temporary index" thing.  We could:
> 
>  * add '--only' that asks for the new "temporary index" thing.
> 
>  * initially make '--include' the default, not '--only'.
> 
>  * later switch the default to '--only'.
> 
> 

I think both are viable choices, with the second one better in case the planned transition phase is going to be long, while the first one is better if it is going to be short.

Because when, at last, you will switch the default to '--only', this option could be removed. So it's a temporary option with, peraphs, a temporary documentation, and a temporary user training to use it: IMHO has a meaning if the transition period is long enough.

If we are talking about just one or two weeks, more then enough to update scripts, I think the first approach is simpler.

In any case to let things more clear could be useful to tag a fresh new git version for this commit semantics change.

Marco
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 16 in “git-commit: revamp the git-commit semantics.”
  1. git-commit: revamp the git-commit semantics.Junio C Hamano, Feb 5, 2006
  2. Marco CostalbaFeb 5, 2006
  3. Junio C HamanoFeb 5, 2006
  4. Marco CostalbaFeb 5, 2006
  5. Junio C HamanoFeb 5, 2006
  6. Nicolas PitreFeb 7, 2006
  7. Junio C HamanoFeb 7, 2006
  8. Junio C HamanoFeb 7, 2006
  9. Jon LoeligerFeb 7, 2006
  10. Nicolas PitreFeb 7, 2006
  11. Nicolas PitreFeb 7, 2006
  12. Junio C HamanoFeb 8, 2006
  13. Junio C HamanoFeb 6, 2006
  14. Junio C HamanoFeb 6, 2006
  15. Michael FischerFeb 6, 2006
  16. Junio C HamanoFeb 6, 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.