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

Re: newby question about merge.

From
Christian MICHON <christian.michon@gmail.com>
Date
May 16, 2007, 19:35 UTC
Message-ID
<46d6db660705161235k130fabc2i6acb45d71b85891e@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.64.0705161542540.6410@racer.site>
On 5/16/07, Johannes Schindelin wrote:
> [please, Christian, do not cut the Cc: list. In particular, do _not_ cut
> the person you are _responding_ to from the Cc: list]

[ oops. I thought some of us sometimes receive doublets of emails, being in reply_to and cc of git@vger.kernel.org. point *taken* ]

> > I could be wrong, but git-show works in this way only after version 1.5,
> > right ?
>
> Yes. So what?
I also sometimes use old git versions (I still consider 1.4.4.4 as a reference).

I know the API changes frequently. But engineers don't like too many changes usually, and like to carry a portable/stable way. "git cat-file" at least behaves as it was in 1.4.x :)

> > As far as I can tell, using git-1.4.4.4 or ealier, you would still need
> > git-cat-file -p... to fix this merge conflict.
>
> If you are using pre-1.5 Git, you should really, really upgrade.

While in principle I'd agree, in practice I do not. Git API changes increased learning curve for people who actually started with git a year ago.

Note this is a git user feedback, not a git developer feedback.
>
> If you do not want to do that, then _at least_ you should not confuse
> newbies, who _should_ use Git 1.5+.
hey, I'm not a newbie anymore! :)

it's just that today, on a machine I only had git-1.4.4.4 to play with, I had to do a merge of 2 private branches ( aufs and squashfs) on linux-2.6.21... I had 3 smalls conflicts to fix and I saw this thread... and decided to stick with git-cat-file on this fix.

> And most importantly: if you suggest a change in the man pages, it should
> reflect the new Git versions, _not_ the old ones.
nope, I would not dare to suggest. I'm not a git developer: just a git user :)
> Okay?
yep
-- 
Christian
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 10 of 11 in “newby question about merge.”
  1. piccaMay 15, 2007
  2. Alex RiesenMay 15, 2007
  3. Jakub NarebskiMay 15, 2007
  4. piccaMay 15, 2007
  5. Junio C HamanoMay 15, 2007
  6. piccaMay 16, 2007
  7. Johannes SchindelinMay 16, 2007
  8. Christian MICHONMay 16, 2007
  9. Johannes SchindelinMay 16, 2007
  10. Christian MICHONMay 16, 2007
  11. Johannes SchindelinMay 16, 2007

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.