summaryrefslogtreecommitdiff
path: root/releasenotes/notes/refuse-unstaged-changes-61600bd33adf3a45.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'releasenotes/notes/refuse-unstaged-changes-61600bd33adf3a45.yaml')
-rw-r--r--releasenotes/notes/refuse-unstaged-changes-61600bd33adf3a45.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/releasenotes/notes/refuse-unstaged-changes-61600bd33adf3a45.yaml b/releasenotes/notes/refuse-unstaged-changes-61600bd33adf3a45.yaml
new file mode 100644
index 0000000..8e19e81
--- /dev/null
+++ b/releasenotes/notes/refuse-unstaged-changes-61600bd33adf3a45.yaml
@@ -0,0 +1,8 @@
+---
+fixes:
+ - |
+ For safety, attempts to push a commit with unstaged or uncommitted changes
+ in the worktree will be caught and an error reported, rather than leaving
+ it up to ``git rebase`` to spot them. This addresses a situation where
+ users enabling *rebase.autostash* would otherwise experience data loss when
+ the test rebase is subsequently reset.