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

GL bug: can not commit, reports error on changed submodule directory

From
Eern0 <ern0@linkbroker.hu>
Date
Oct 4, 2016, 10:40 UTC
Message-ID
<CALhephTkohVhEjdP7TwQAcBrEBiHGtp0Hd+UxPUiJHtubMWKGA@mail.gmail.com>
When I say:
 $ gl commit -m "blah blah"
It reports:
 ✘ Failed to read file into stream: Is a directory
Reason: I have a submodule which has changes.
 $ git status
 On branch develop
 Your branch is up-to-date with 'origin/develop'.
 Changes not staged for commit:
   (use "git add/rm <file>..." to update what will be committed)
   (use "git checkout -- <file>..." to discard changes in working directory)
         modified:   remoting (new commits)
 no changes added to commit (use "git add" and/or "git commit -a")
Workaround: I should sync the directory...
 $ cd remoting
 $ git commit -am "yada"
 $ cd ..
 $ git commit -am "yada yada"
 $ git push
 $ echo I feel clean now
 $ echo "# wow" >> test.py
 $ gl commit -m "added wow"
...and it works again.
-- 
ern0
dataflow evangelist
Next: Junio C Hamano
Message 1 of 3 in “GL bug: can not commit, reports error on changed submodule directory”
  1. ern0Oct 4, 2016
  2. Junio C HamanoOct 4, 2016
  3. Stefan BellerOct 4, 2016

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.