This commit is contained in:
Quaternions 2024-01-11 02:35:08 -08:00
parent e722f79928
commit 8569c694f2

View File

@ -720,7 +720,7 @@ fn write_commit(config:WriteCommitConfig,b:AResult<(AssetVersion,DecompiledConte
&format!("v{}", asset_version.assetVersionNumber),//message
&tree,//tree (basically files)
&[&reference.peel_to_commit()?],//parents
).expect("commit failed"),
)?,
Err(_)=>repo.commit(
Some("HEAD"),//update_ref
&sig,//author
@ -728,7 +728,7 @@ fn write_commit(config:WriteCommitConfig,b:AResult<(AssetVersion,DecompiledConte
&format!("v{}", asset_version.assetVersionNumber),//message
&tree,//tree (basically files)
&[],//parents
).expect("commit failed"),
)?,
};
//commit