Hi, On Thu, 26 Jun 2008, Cesar Strauss wrote:
> Now, the current implementation of "hash_and_insert_object" in Git.pm > works with pipes, like this: > > $ echo /tmp/mf8vpEaKoj | git hash-object -w --stdin-paths > fatal: Unable to hash /tmp/mf8vpEaKoj > > The file name is passed by stdin, but MSYS only translates paths on > the command line. The path is passed on untranslated. > > One workaround would be to create the temporary file in the current > directory, avoiding the need for path translation. The thing is: we purposefully used MSys Perl (actually, we built our own version of it, to be able to include SVN modules), so that the path translation would kick in also in Perl. > Other than that, git svn clone and git svn dcommit seem to work fine. > I will try to come up with a patch. Maybe we will have to come up with a MinGW Perl including SVN modules, which might be trickier than with MSys Perl. But then, it might be easier, as SVN uses Apache's compatibility layer for things like fork(). This might also make git-svn faster, although I would not bet on that. But by "we" I mean those people who are personally interested in git-svn on msysGit, but haven't done a single thing for msysGit yet. I certainly do not mean people like you, who have contributed so much by giving us the best possible start, MSys/MinGW. Thanks, Dscho
