note about default signature
This commit is contained in:
parent
1bdfbf96c3
commit
b9eaefe056
@ -746,8 +746,8 @@ async fn write_commit(config:WriteCommitConfig,b:Result<AResult<(AssetVersion,De
|
|||||||
write_scripts:config.write_scripts,
|
write_scripts:config.write_scripts,
|
||||||
},context).await?;
|
},context).await?;
|
||||||
|
|
||||||
|
|
||||||
let date=asset_version.created;
|
let date=asset_version.created;
|
||||||
|
//let sig=repo.signature()?; //this pulls default name and email
|
||||||
let sig=git2::Signature::new(config.git_committer_name.as_str(),config.git_committer_email.as_str(),&git2::Time::new(date.timestamp(),0)).unwrap();
|
let sig=git2::Signature::new(config.git_committer_name.as_str(),config.git_committer_email.as_str(),&git2::Time::new(date.timestamp(),0)).unwrap();
|
||||||
let tree_id={
|
let tree_id={
|
||||||
let mut tree_index = repo.index()?;
|
let mut tree_index = repo.index()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user