threads / bug / 44215

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

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

## tl;dr

3 messages between Oct 4, 2016 and Oct 4, 2016.

replies: 2people: 3as markdown or json

ern0· Oct 4, 2016, 10:40 UTC · lore
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
Junio C Hamano· Oct 4, 2016, 22:58 UTC · re: ern0 · lore

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

ern0 <ern0@linkbroker.hu> writes:
> When I say:
>  $ gl commit -m "blah blah"
> It reports:
>  ✘ Failed to read file into stream: Is a directory

Not that I am interested in learning the answer to the question, but what the h*ck is "gl"?

Stefan Beller· Oct 4, 2016, 23:05 UTC · re: Junio C Hamano · lore

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

On Tue, Oct 4, 2016 at 3:58 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> ern0 <ern0@linkbroker.hu> writes:
>
>> When I say:
>>  $ gl commit -m "blah blah"
>> It reports:
>>  ✘ Failed to read file into stream: Is a directory
>
> Not that I am interested in learning the answer to the question, but
> what the h*ck is "gl"?
http://gitless.com/

See 20160930191413.002049b94b3908b15881b77f@domain007.com "Purposes, Concepts,Misfits, and a Redesign of Git" (a research paper)

← back to recent threads