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

Big path on git add file [windows bug]

From
AKAlexey Kasyanchuk <degitx@gmail.com>
Date
Sep 16, 2015, 08:01 UTC
Message-ID
<CAMg53oum4s2HE5A-H4g-3N8akOm4KetHM6ntUqRPnygLRALwpw@mail.gmail.com>
I tried add one of node.js module to git project. But add operation failed:

libgit2 returned: Invalid path for filesystem 'E:/Projects/vsteams/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/decompress/node_modules/decompress-tar/node_modules/strip-dirs/node_modules/is-natural-number/is-natural-number-cjs.js': Data area passed to a system call is too small.

Is this windows problem or problem with libgit2 realization on windows (windows 7 by the way)? It looked like problem with big system path (276 symbols). May be some sulution for this?

Version: Git-2.5.2.2-64-bit
-- 
Best regards,
Alexey Kasyanchuk
C/C++ Developer


Skype: degitx
mobile: +375295777373
Next: Johannes Schindelin
Message 1 of 2 in “Big path on git add file [windows bug]”
  1. Alexey KasyanchukSep 16, 2015
  2. Johannes SchindelinSep 16, 2015

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.