Skip to content

gl track .gitignore (or any file starting with .git) fails with a complaint about paths #178

@jhbrown94

Description

@jhbrown94

'gl track' is failing to work on any file prefixed with .git. This is for 0.8.6, on OS X. Examples:

$ gl track .gitignore 
✘ path /Users/jhbrown/demo/.gitignore is absolute but should be relative to the repo root

$ gl track .gitx
✘ path /Users/jhbrown/demo/.gitx is absolute but should be relative to the repo root

$ gl track .xgitignore
✔ File .xgitignore is now a tracked file

$ gl --version
GL Version: 0.8.6
You can check if there's a new version of Gitless available at http://gitless.com

$ uname -a
Darwin montrose.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions