"commit --template" fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | t7501: test the right kind of breakaget/ | +2 | 0 replies | |
| 2/3 | commit: do not trigger bogus "has templated message edited" checkbuiltin/ t/ | +8 | 0 replies | |
| 3/3 | commit: rephrase the error when user did not touch templated log messagebuiltin/ t/ | +47 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Junio C Hamano | Ivan Heffner |
|---|---|---|
| Series | Helped-by Helped-by | Helped-by Helped-by |
| 1/3 | ||
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] "commit --template" fixes
When the user exited editor without editing the commit log template given by "git commit -t <template>", the commit was aborted (correct) with an error message that said "due to empty commit message" (incorrect). The goal of this series is to fix this, which is the third patch.
While looking at this, I found another bug that the contents of the template file is still used for error checking even when it is ignored when the editor is populated for the user to edit. The second patch addresses this.
Junio C Hamano (3):
t7501: test the right kind of breakage
commit: do not trigger bogus "has templated message edited" check
commit: rephrase the error when user did not touch templated log message
builtin/commit.c | 62 +++++++++++++++++++++++++++++++++++++---------------- t/t7501-commit.sh | 14 ++++++++++++ 2 files changed, 57 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.10.rc3.55.g06e99