t6102: test tg tag -g with tabs present
commit5f4bc24c9e8a2c2ede7174ab0852a458c92e04e6
authorKyle J. McKay <mackyle@gmail.com>
Wed, 8 Sep 2021 21:54:46 +0000 (8 14:54 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 8 Sep 2021 21:54:46 +0000 (8 14:54 -0700)
tree056691c2b64f7d6714ad684ff33f28704d1865ed
parent9e6cdcccd1313a3a7a6c235acc0eb1bde619ca1d
t6102: test tg tag -g with tabs present

Although the exact format of the reflog file lines is detailed
explicitly in `git help update-ref`, it omits any discussion of the
effect of extra tabs on the format and exactly how they are handled.

Since a tab is used as a delimiter between the committer and the
message (if the message is present), it's quite relevant.

Arrange for a whole bunch of tabs to show up in some test commits
and exercise `tg tag -g` with the resulting reflog.

Unfortunately, two of the unit tests must be marked `test_expect_failure`
at this time.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
t/t6102-tag-reflog-tabs.sh [new file with mode: 0755]