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

Re: Merge problems with git-mingw

From
Peter Karlsson <peter@softwolves.pp.se>
Date
Oct 9, 2007, 08:56 UTC
Message-ID
<Pine.LNX.4.64.0710090953240.26773@ds9.cixit.se>
In-Reply-To
<470B2F7E.4080308@viscovery.net>
Hi!
> What if you run 'git var -l' outside a repository? From CMD?
> Have you tried 'git-var -l' (note the dash)? From CMD?

C:\Program Files\Git\bin>git var -l usage: git-var [-l | <variable>]

C:\Program Files\Git\bin>git-var -l fatal: Not a git repository

C:\Program Files\Git\bin>git --version git version 1.5.3.mingw.1

> Are you sure you have only one version of git in the PATH?
Yes.
> What's in your .git/config?

This is the .git/config file for one of the repositories where it fails:

  [core]
        repositoryformatversion = 0
        filemode = false
        bare = false
        logallrefupdates = true
        symlinks = false
        pager = less -x3 -r
  [instaweb]
        local = true
        httpd = c:/cygwin/usr/sbin/lighttpd.exe -f
        port = 4321
        browser = c:/progra~1/opera/opera.exe
        modulepath = c:/cygwin/usr/lib/apache
  [diff]
        renames = copies
        external = C:/Program Files/tkdiff/tkdiff.exe
  [user]
        name = Peter Karlsson
        email = peter.karlsson@tandbergdata.com
This is my global $HOME/.gitconfig:
  [user]
  name = Peter Karlsson
  email = peter@softwolves.pp.se
  [core]
          editor = c:/cygwin/bin/joe.exe
          pager = less -x3 -r
  [color]
  [color]
          pager = true
-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Johannes SixtNext: Johannes Sixt
Message 10 of 17 in “Merge problems with git-mingw”
  1. Peter KarlssonOct 8, 2007
  2. Lars HjemliOct 8, 2007
  3. Peter KarlssonOct 8, 2007
  4. Lars HjemliOct 8, 2007
  5. Peter KarlssonOct 8, 2007
  6. Lars HjemliOct 8, 2007
  7. Johannes SixtOct 9, 2007
  8. Peter KarlssonOct 9, 2007
  9. Johannes SixtOct 9, 2007
  10. Peter KarlssonOct 9, 2007
  11. Johannes SixtOct 9, 2007
  12. Steffen ProhaskaOct 9, 2007
  13. Johannes SixtOct 9, 2007
  14. Linus TorvaldsOct 9, 2007
  15. exec_git_cmd: fix executing commands if path contains spacesSteffen Prohaska, Oct 9, 2007
  16. Johannes SixtOct 10, 2007
  17. Fix invocation of external git commands with arguments with spaces.Johannes Sixt, Oct 10, 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.