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

Re: questions about cg-update, cg-pull, and cg-clone.

From
ZBZack Brown <zbrown@tumblerings.org>
Date
Apr 30, 2005, 15:48 UTC
Message-ID
<20050430154808.GB5408@tumblerings.org>
In-Reply-To
<4272EF69.2090806@dwheeler.com>
On Fri, Apr 29, 2005 at 10:37:29PM -0400, David A. Wheeler wrote:
Show 22 quoted lines
> Zack Brown wrote:
> >Now, if the update is clean, a cg-commit is invoked automatically,
> 
> Correct; cg-merge calls "cg-commit -C" (ignore cache)
> if the merge is clean.
> 
> >and if the
> >update is not clean, I then have to resolve any conflicts and give the 
> >cg-commit
> >command by hand.
> 
> Correct.
> 
> >But: what is the significance of either of these cg-commit
> >commands? Why should I have to write a changelog entry recording this 
> >merge? All
> >I'm doing is updating my tree to be current. Why should I have to 'commit' 
> >that
> >update?
> 
> I can't speak Petr, but I would guess that he's doing that because
> he's trying to avoid data loss.

So, what would be an appropriate comment for that commit? I have no idea what is changing on my tree in that case, all I know is that I'm merging from someone else. All I really want is their changes and their commit messages, not one of my own that is meaningless.

So far I just type ^d when this happens, and leave the commit message blank.

Be well, Zack

Show 7 quoted lines
> 
> 
> --- David A. Wheeler
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Zack Brown
Previous: David A. WheelerNext: Petr Baudis
Message 3 of 8 in “questions about cg-update, cg-pull, and cg-clone.”
  1. Zack BrownApr 30, 2005
  2. David A. WheelerApr 30, 2005
  3. Zack BrownApr 30, 2005
  4. Petr BaudisMay 2, 2005
  5. Zack BrownMay 3, 2005
  6. Joel BeckerMay 3, 2005
  7. Joel BeckerMay 3, 2005
  8. Daniel BarkalowMay 3, 2005

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.