refs: handle zero oid for pseudorefs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v11 patch 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | refs.c: refer to "object ID", not "sha1", in error messagesrefs.c | +4 | 0 replies | |
| 2/3 | t1400: add tests around adding/deleting pseudorefst/ | +60 | 0 replies | |
| 3/3 | refs: handle zero oid for pseudorefsrefs.c t/ | +15 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Rafael Ascensão |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | Helped-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] refs: handle zero oid for pseudorefs
Quoted 9 lines · Martin Ågren
Quoted 3 lines · Michael Haggerty
Thanks for the patch. This looks good to me. But it it seems that the test coverage related to pseudorefs is still not great. Ideally, all of the following combinations should be tested:
Thank you for your comments. I was not able to find much pseudoref-testing. I think what I should do is a patch 1/2 adding the tests you outlined (some will be expected failures), then turn this patch into a patch 2/2.
Well, it turned into three patches. One to move away from "sha1" in some error messages before spreading them to the test suite, then one to add the tests, then one for the actual fix.
Martin
Martin Ågren (3):
refs.c: refer to "object ID", not "sha1", in error messages
t1400: add tests around adding/deleting pseudorefs
refs: handle zero oid for pseudorefs
t/t1400-update-ref.sh | 60 +++++++++++++++++++++++++++++++++++++++++++ refs.c | 22 ++++++++++++---- 2 files changed, 77 insertions(+), 5 deletions(-)
Signature · 1 line
2.17.0