Skip to content

Crash when tracking a deleted file #162

Open
@impact27

Description

@impact27
  • init repo
  • Add some files
  • gl track *.py
  • rm useless.py
  • gl status

And then see this error:

On branch master, repo-directory //
✘ Some internal error occurred
➜ If you want to help, see http://gitless.com for info on how to report bugs and include the following information:

0.8.5

Traceback (most recent call last):
File "/usr/local/Cellar/gitless/0.8.5_2/libexec/lib/python2.7/site-packages/gitless/cli/gl.py", line 82, in main
return SUCCESS if args.func(args, repo) else ERRORS_FOUND
File "/usr/local/Cellar/gitless/0.8.5_2/libexec/lib/python2.7/site-packages/gitless/cli/gl_status.py", line 45, in main
for f in curr_b.status():
File "/usr/local/Cellar/gitless/0.8.5_2/libexec/lib/python2.7/site-packages/gitless/core.py", line 762, in status
yield self.FileStatus(fp, *self._st_map[git_s])
KeyError: 513

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions