Removed debugs, simplified settings
This commit is contained in:
parent
6f7547d28f
commit
499e95d16a
6 changed files with 61 additions and 118 deletions
|
@ -19,7 +19,6 @@ impl GitRepository for LibGitRepository {
|
|||
fn logic(repo: &LibGitRepository, relative_file_path: &Path) -> Result<Option<String>> {
|
||||
const STAGE_NORMAL: i32 = 0;
|
||||
let index = repo.index()?;
|
||||
dbg!(relative_file_path);
|
||||
let oid = match index.get_path(relative_file_path, STAGE_NORMAL) {
|
||||
Some(entry) => entry.id,
|
||||
None => return Ok(None),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue