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

3 messages from 2016-10-04 to 2016-10-04. Participants: ern0, Junio C Hamano, Stefan Beller.
Thread: https://gitlist.dev/t/44215

## ern0, 2016-10-04 10:40

Subject: GL bug: can not commit, reports error on changed submodule directory
Message-ID: <CALhephTkohVhEjdP7TwQAcBrEBiHGtp0Hd+UxPUiJHtubMWKGA@mail.gmail.com>
URL: https://gitlist.dev/e/CALhephTkohVhEjdP7TwQAcBrEBiHGtp0Hd%2BUxPUiJHtubMWKGA%40mail.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

```

## Junio C Hamano, 2016-10-04 22:58

Subject: Re: GL bug: can not commit, reports error on changed submodule directory
Message-ID: <xmqqy423rabi.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqy423rabi.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <CALhephTkohVhEjdP7TwQAcBrEBiHGtp0Hd+UxPUiJHtubMWKGA@mail.gmail.com>

```
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, 2016-10-04 23:05

Subject: Re: GL bug: can not commit, reports error on changed submodule directory
Message-ID: <CAGZ79ka=0H-tanoN8_O06p=4PNm-8AvKFU_dAwUOkgocm+TV0Q@mail.gmail.com>
URL: https://gitlist.dev/e/CAGZ79ka%3D0H-tanoN8_O06p%3D4PNm-8AvKFU_dAwUOkgocm%2BTV0Q%40mail.gmail.com
In-Reply-To: <xmqqy423rabi.fsf@gitster.mtv.corp.google.com>

```
On Tue, Oct 4, 2016 at 3:58 PM, Junio C Hamano <gitster@pobox.com> wrote:
> 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)

```
