Commit 866b22e
authored
Fix unstaged files affecting the commit message
Can be recreated with the following steps:
```bash
touch file1.txt
echo hi > file2.txt
git add file2.txt
```
file1.txt would be included in the commit message, even though it was
not staged. This removes the unstaged files from the commit message.1 parent b039395 commit 866b22e
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments