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

Re: git ls-files handles paths differently in Windows and Mac (probably Linux)

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 13, 2010, 11:20 UTC
Message-ID
<m3aami731j.fsf@localhost.localdomain>
In-Reply-To
<AEC0873D-4AFC-402E-9D7D-197A7D40DCDD@jetbrains.com>
Kirill Likhodedov <Kirill.Likhodedov@jetbrains.com> writes:
> 12.10.2010, в 19:25, Alex Riesen написал(а):
Show 10 quoted lines
> > [..]. What are you trying to do, BTW?
> 
> I'm developing a plugin for Git integration for IntelliJ IDEA (an IDE for
> Java and other languages).
>
> And the task I'm working now is to get the status of index and working
> tree. I want to make it as fast as possible.  To work with a Git
> repository I start a process with git native commands, so every command to
> execute is additional cost.  (Maybe I could work with the filesystem and
> raw Git repository, but it would be an overhead).

Isn't IntelliJ IDEA written itself in Java? Perhaps you could use JGit, the Java implementation of Git (though it is not complete implementation yet, if I remember correctly). It is EDL (new-style BSD) licensed, and is used by Eclipse and NetBeans.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Alex RiesenNext: Kirill Likhodedov
Message 8 of 13 in “git ls-files handles paths differently in Windows and Mac (probably Linux)”
  1. Kirill LikhodedovOct 12, 2010
  2. Alex RiesenOct 12, 2010
  3. Kirill LikhodedovOct 12, 2010
  4. Kirill LikhodedovOct 12, 2010
  5. Alex RiesenOct 12, 2010
  6. Kirill LikhodedovOct 13, 2010
  7. Alex RiesenOct 13, 2010
  8. Jakub NarebskiOct 13, 2010
  9. Kirill LikhodedovOct 13, 2010
  10. Alex RiesenOct 12, 2010
  11. Johannes SixtOct 12, 2010
  12. Kirill LikhodedovOct 12, 2010
  13. Johannes SixtOct 12, 2010

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.