forked from StrafesNET/asset-tool
? tech
This commit is contained in:
parent
e722f79928
commit
8569c694f2
@ -720,7 +720,7 @@ fn write_commit(config:WriteCommitConfig,b:AResult<(AssetVersion,DecompiledConte
|
|||||||
&format!("v{}", asset_version.assetVersionNumber),//message
|
&format!("v{}", asset_version.assetVersionNumber),//message
|
||||||
&tree,//tree (basically files)
|
&tree,//tree (basically files)
|
||||||
&[&reference.peel_to_commit()?],//parents
|
&[&reference.peel_to_commit()?],//parents
|
||||||
).expect("commit failed"),
|
)?,
|
||||||
Err(_)=>repo.commit(
|
Err(_)=>repo.commit(
|
||||||
Some("HEAD"),//update_ref
|
Some("HEAD"),//update_ref
|
||||||
&sig,//author
|
&sig,//author
|
||||||
@ -728,7 +728,7 @@ fn write_commit(config:WriteCommitConfig,b:AResult<(AssetVersion,DecompiledConte
|
|||||||
&format!("v{}", asset_version.assetVersionNumber),//message
|
&format!("v{}", asset_version.assetVersionNumber),//message
|
||||||
&tree,//tree (basically files)
|
&tree,//tree (basically files)
|
||||||
&[],//parents
|
&[],//parents
|
||||||
).expect("commit failed"),
|
)?,
|
||||||
};
|
};
|
||||||
|
|
||||||
//commit
|
//commit
|
||||||
|
Loading…
Reference in New Issue
Block a user