# [PATCH] git-completion: add --autostash for 'git rebase'

1 messages from 2015-01-07 to 2015-01-07. Participants: Matthieu Moy.
Thread: https://gitlist.dev/t/38301

## Matthieu Moy, 2015-01-07 12:40

Subject: [PATCH] git-completion: add --autostash for 'git rebase'
Message-ID: <1420634431-18830-1-git-send-email-Matthieu.Moy@imag.fr>
URL: https://gitlist.dev/e/1420634431-18830-1-git-send-email-Matthieu.Moy%40imag.fr

```
This option was added in 587947750bd73544 (not to be confused with
--autosquash).

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
---
 contrib/completion/git-completion.bash | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 23988ec..5c369f7 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1693,6 +1693,7 @@ _git_rebase ()
 			--committer-date-is-author-date --ignore-date
 			--ignore-whitespace --whitespace=
 			--autosquash --fork-point --no-fork-point
+			--autostash
 			"
 
 		return
-- 
2.0.2.737.gfb43bde

```
