mirror of
https://github.com/AdaCore/git-hooks.git
synced 2026-02-12 12:43:11 -08:00
13 lines
381 B
Python
13 lines
381 B
Python
"""Handling of Git Notes creation."""
|
|
|
|
from updates.notes.update import NotesUpdate
|
|
|
|
|
|
class NotesCreation(NotesUpdate):
|
|
"""Update object for Git Notes creation."""
|
|
|
|
# Notes creation is a special case of Notes Update, where the
|
|
# old_rev is the null revision. The NotesUpdate class currently
|
|
# handles everything correctly for us, so no extra code needed.
|
|
pass
|