{"thread":{"id":"44215","subject":"GL bug: can not commit, reports error on changed submodule directory","startedAt":"2016-10-04T10:40:50Z","lastAt":"2016-10-04T23:12:03Z","messageCount":3,"participants":["ern0","Junio C Hamano","Stefan Beller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"303199","messageId":"CALhephTkohVhEjdP7TwQAcBrEBiHGtp0Hd+UxPUiJHtubMWKGA@mail.gmail.com","threadId":"44215","inReplyTo":null,"subject":"GL bug: can not commit, reports error on changed submodule directory","fromName":"ern0","fromEmail":"ern0@linkbroker.hu","sentAt":"2016-10-04T10:40:22Z","receivedAt":"2016-10-04T10:40:50Z","isPatch":false,"sender":{"key":"ern0@linkbroker.hu","avatar":null},"body":"When I say:\n $ gl commit -m \"blah blah\"\nIt reports:\n ✘ Failed to read file into stream: Is a directory\n\nReason: I have a submodule which has changes.\n\n $ git status\n On branch develop\n Your branch is up-to-date with 'origin/develop'.\n Changes not staged for commit:\n   (use \"git add/rm <file>...\" to update what will be committed)\n   (use \"git checkout -- <file>...\" to discard changes in working directory)\n\n         modified:   remoting (new commits)\n\n no changes added to commit (use \"git add\" and/or \"git commit -a\")\n\nWorkaround: I should sync the directory...\n\n $ cd remoting\n $ git commit -am \"yada\"\n $ cd ..\n $ git commit -am \"yada yada\"\n $ git push\n $ echo I feel clean now\n $ echo \"# wow\" >> test.py\n $ gl commit -m \"added wow\"\n\n...and it works again.\n-- \nern0\ndataflow evangelist\n"},{"id":"303332","messageId":"xmqqy423rabi.fsf@gitster.mtv.corp.google.com","threadId":"44215","inReplyTo":"CALhephTkohVhEjdP7TwQAcBrEBiHGtp0Hd+UxPUiJHtubMWKGA@mail.gmail.com","subject":"Re: GL bug: can not commit, reports error on changed submodule directory","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-10-04T22:58:09Z","receivedAt":"2016-10-04T22:58:18Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"ern0 <ern0@linkbroker.hu> writes:\n\n> When I say:\n>  $ gl commit -m \"blah blah\"\n> It reports:\n>  ✘ Failed to read file into stream: Is a directory\n\nNot that I am interested in learning the answer to the question, but\nwhat the h*ck is \"gl\"?\n"},{"id":"303333","messageId":"CAGZ79ka=0H-tanoN8_O06p=4PNm-8AvKFU_dAwUOkgocm+TV0Q@mail.gmail.com","threadId":"44215","inReplyTo":"xmqqy423rabi.fsf@gitster.mtv.corp.google.com","subject":"Re: GL bug: can not commit, reports error on changed submodule directory","fromName":"Stefan Beller","fromEmail":"sbeller@google.com","sentAt":"2016-10-04T23:05:26Z","receivedAt":"2016-10-04T23:12:03Z","isPatch":false,"sender":{"key":"stefanbeller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/455868?v=4"},"body":"On Tue, Oct 4, 2016 at 3:58 PM, Junio C Hamano <gitster@pobox.com> wrote:\n> ern0 <ern0@linkbroker.hu> writes:\n>\n>> When I say:\n>>  $ gl commit -m \"blah blah\"\n>> It reports:\n>>  ✘ Failed to read file into stream: Is a directory\n>\n> Not that I am interested in learning the answer to the question, but\n> what the h*ck is \"gl\"?\n\nhttp://gitless.com/\n\nSee 20160930191413.002049b94b3908b15881b77f@domain007.com\n\"Purposes, Concepts,Misfits, and a Redesign of Git\" (a research paper)\n"}]}