This helps for reftable support, and will help if we want to reconsider
under which conditions reflogs get created/updated.
Han-Wen Nienhuys (4):
show-branch: show reflog message
refs: trim newline from reflog message
test-ref-store: tweaks to for-each-reflog-ent format
t1400: use test-helper ref-store to inspect reflog contents
builtin/show-branch.c | 7 ++-----
reflog-walk.c | 6 ++----
refs/files-backend.c | 30 +++++++++++++++---------------
t/helper/test-ref-store.c | 5 ++---
t/t1400-update-ref.sh | 18 +++++++++++-------
t/t1405-main-ref-store.sh | 4 ++--
t/t1406-submodule-ref-store.sh | 4 ++--
t/t3202-show-branch.sh | 15 +++++++++++++++
8 files changed, 51 insertions(+), 38 deletions(-)
base-commit: cd3e606211bb1cf8bc57f7d76bab98cc17a150bc
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1145%2Fhanwen%2Freflog-prelims-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1145/hanwen/reflog-prelims-v1
Pull-Request: https://github.com/git/git/pull/1145
--
gitgitgadget