module documentation
Utilities for reading and generating reflogs.
Function | drop |
Drop the specified reflog entry. |
Function | format |
Generate a single reflog line. |
Function | parse |
Parse a reflog line. |
Function | read |
Read reflog. |
Variable |
|
Undocumented |
Drop the specified reflog entry.
Parameters | |
f | File-like object |
index | Reflog entry index (in Git reflog reverse 0-indexed order) |
rewrite | If a reflog entry's predecessor is removed, set its old SHA to the new SHA of the entry that now precedes it |
Generate a single reflog line.
Parameters | |
old | Old Commit SHA |
new | New Commit SHA |
committer | Committer name and e-mail |
timestamp | Timestamp |
timezone | Timezone |
message | Message |