fast-import: empty/reset branch bugs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fast-import: don't allow to tag empty branchfast-import.c t/ | +14 | 1 reply | |
| 2/2 | fast-import: don't allow to note on empty branchfast-import.c t/ | +19 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] fast-import: empty/reset branch bugs
fast-import uses null_sha1 for empty branches. It doesn't make a null_sha1 parent nor writes out a branch with null_sha1 head. But for notemodify and tag commands there is no check for null_sha1 and so bad tag/notes are produced instead of a error message.
Dmitry Ivankov (2):
fast-import: don't allow to tag empty branch
fast-import: don't allow to note on empty branch
fast-import.c | 4 ++++ t/t9300-fast-import.sh | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.3.4