# git rebase -i doesn't respect rebase.autosquash

4 messages from 2010-12-30 to 2010-12-31. Participants: Mike Doherty, Martin von Zweigbergk.
Thread: https://gitlist.dev/t/26166

## Martin von Zweigbergk, 2010-12-30 18:37

Subject: Re: git rebase -i doesn't respect rebase.autosquash
Message-ID: <alpine.DEB.1.10.1012301929221.7175@debian>
URL: https://gitlist.dev/e/alpine.DEB.1.10.1012301929221.7175%40debian
In-Reply-To: <4D1D1A38.9090305@cs.dal.ca>

```
On Thu, 30 Dec 2010, Mike Doherty wrote:

> 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

```

## Martin von Zweigbergk, 2010-12-30 18:46

Subject: Re: git rebase -i doesn't respect rebase.autosquash
Message-ID: <alpine.DEB.1.10.1012301944520.7175@debian>
URL: https://gitlist.dev/e/alpine.DEB.1.10.1012301944520.7175%40debian
In-Reply-To: <4D1D263E.4080600@cs.dal.ca>

```
On Thu, 30 Dec 2010, Mike Doherty wrote:

> On 10-12-30 01:37 PM, Martin von Zweigbergk wrote:
> > 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

```

## Mike Doherty, 2010-12-30 23:48

Subject: git rebase -i doesn't respect rebase.autosquash
Message-ID: <4D1D1A38.9090305@cs.dal.ca>
URL: https://gitlist.dev/e/4D1D1A38.9090305%40cs.dal.ca

```
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

```

## Mike Doherty, 2010-12-31 00:39

Subject: Re: git rebase -i doesn't respect rebase.autosquash
Message-ID: <4D1D263E.4080600@cs.dal.ca>
URL: https://gitlist.dev/e/4D1D263E.4080600%40cs.dal.ca
In-Reply-To: <alpine.DEB.1.10.1012301929221.7175@debian>

```
On 10-12-30 01:37 PM, Martin von Zweigbergk wrote:
> 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

```
