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

Re: Wine + GIT

From
JGJeff Garzik <jgarzik@pobox.com>
Date
Dec 6, 2005, 02:03 UTC
Message-ID
<4394F173.6000505@pobox.com>
In-Reply-To
<4394CD68.8020500@codeweavers.com>
Mike McCormack wrote:
Show 6 quoted lines
> Hi All,
> 
> The Wine project has started maintaining a wine.git in parallel to the 
> Wine CVS.  To introduce Wine developers to GIT, we've put together a 
> short introduction on the Wine Wiki on using GIT to maintain patches. 
> You can find it at:
> http://wiki.winehq.org/GitWine
Very cool!  :)
Comments:
1) I wrote a git howto for kernel hackers, 95% of which applies to other 
projects as well:  http://linux.yyz.us/git-howto.html
2) The "git-foo" commands are apparently uncool.  "git foo ..." is 
preferred.
3) replace
	git-diff-index -p HEAD
with
	git diff HEAD
4) "git commit -a" can often replace git-update-index+git-commit
5) never ever do
	git-checkout -f HEAD

HEAD should always be a symlink. 'git checkout -f master' is probably what you want.

6) For merges with hand-merged conflicts, I could have sworn that either 
a "git commit -a" or 'git-update-index' + 'git commit' was required. 
Maybe I'm wrong, or that has changed?
Previous: Mike McCormackNext: Junio C Hamano
Message 2 of 15 in “Wine + GIT”
  1. Mike McCormackDec 5, 2005
  2. Jeff GarzikDec 6, 2005
  3. Junio C HamanoDec 6, 2005
  4. J. Bruce FieldsDec 6, 2005
  5. Junio C HamanoDec 6, 2005
  6. J. Bruce FieldsDec 6, 2005
  7. Jon LoeligerDec 6, 2005
  8. git shorthands (was: Re: Wine + GIT)Andreas Ericsson, Dec 6, 2005
  9. Ben CliffordDec 7, 2005
  10. Jeff GarzikDec 6, 2005
  11. Mike McCormackDec 6, 2005
  12. Jeff GarzikDec 6, 2005
  13. Nick HengeveldDec 6, 2005
  14. Andreas EricssonDec 6, 2005
  15. Marco CostalbaDec 6, 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.