Skip to content

Commit

Permalink
Add a todo
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Jan 6, 2025
1 parent 75f7601 commit 9b09454
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,10 @@ static private function wrap_git_object($type, $object) {
return "$type_name $length\x00" . $object;
}

/**
* @TODO: Don't commit without a "force" option if the
* changeset didn't actually change the root tree oid.
*/
public function commit($options=[]) {
// First process all blob updates
$updates = $options['updates'] ?? [];
Expand Down

0 comments on commit 9b09454

Please sign in to comment.