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

2016-10-04 Thread Stefan Beller
On Tue, Oct 4, 2016 at 3:58 PM, Junio C Hamano  wrote:
> ern0  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.002049b94b3908b15881b...@domain007.com
"Purposes, Concepts,Misfits, and a Redesign of Git" (a research paper)


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

2016-10-04 Thread Junio C Hamano
ern0  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"?


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

2016-10-04 Thread ern0
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 ..." to update what will be committed)
   (use "git checkout -- ..." 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