git rebase -i doesn't respect rebase.autosquash
Hello,
In a git repo, I have rebase.autosquash enabled by default (in ~/.gitconfig), but whenever I do git rebase -i, that setting isn't respected. Is this a known bug, or am I misunderstanding what that setting is meant to do?
Thanks for your help,
-Mike Doherty
Quoted 6 lines · Mike Doherty
Hello,
In a git repo, I have rebase.autosquash enabled by default (in ~/.gitconfig), but whenever I do
git rebase -i, that setting isn't respected. Is this a known bug, or am I misunderstanding what that setting is meant to do?
I also have rebase.autosquash enabled and it works for me. Does it autosquash as you expect if you pass '--autosquash' on the command line? Which version of Git are you running?
/Martin
Quoted 3 lines · Martin von Zweigbergk
I also have rebase.autosquash enabled and it works for me. Does it autosquash as you expect if you pass '--autosquash' on the command line? Which version of Git are you running?
Yes, it does. I'm using 1.7.0.4
-Mike
Quoted 6 lines · Mike Doherty
Quoted 3 lines · Martin von Zweigbergk
I also have rebase.autosquash enabled and it works for me. Does it autosquash as you expect if you pass '--autosquash' on the command line? Which version of Git are you running?
Yes, it does. I'm using 1.7.0.4
Ok, that explains it. The configuration was introduced in 1.7.3.
Regards,
Martin