Skip to content

Various things are broken when the install path has spaces #51

@kevin-david

Description

@kevin-david

Edit: As stated below, I had Git installed in C:\Program Files (x86)\Git (the default recommended by the installer) which seems to have caused this issue. git rebase -m was the first thing I noticed.

Repro:

kedavid@KEDAVID-DEV [D:\work\git1] [feature]
> git lg
* 5c2d42d - (HEAD, master, feature) second commit commit (44 seconds ago) <Kevin David>
* 1a5b550 - first commit (52 seconds ago) <Kevin David>

kedavid@KEDAVID-DEV [D:\work\git1] [feature]
> git checkout master
Switched to branch 'master'

kedavid@KEDAVID-DEV [D:\work\git1] [master]
> git checkout -B feature 1a5b550
Switched to and reset branch 'feature'

kedavid@KEDAVID-DEV [D:\work\git1] [feature]
> testcommit feature commit
[feature 8128af2] feature commit commit
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 feature commit

kedavid@KEDAVID-DEV [D:\work\git1] [feature]
> git rebase -m master
First, rewinding head to replay your work on top of it...
git: 'Files' is not a git command. See 'git --help'.

Did you mean this?
        ls-files

When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".

testcommit creates a dummy commit and echos the arguments into a file with the same name (e.g. echo "feature commit" >> "feature commit"), so no magic there.

Running the developer's preview release.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions