Switch to sha-256 git repo and use git tools again #23
No reviewers
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: importers/git-importer#23
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "adamm/git-importer:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's a little bit slower. Importing squid with LFS off (
export GIT_LFS_SKIP_SMUDGE="1"
) and database populated from OBS,real 0m38.878s
user 0m26.607s
sys 0m16.501s
vs.
real 0m2.861s
user 0m1.870s
sys 0m0.597s
but since it's not running in vacuum (LFS on + OBS), it may not be that significant.
@ -189,2 +243,2 @@
(self.path / file).unlink()
subprocess.run(
['git', 'rm', '-q', '--ignore-unmatch', file.name],
One thing I noticed is I had to add "--ignore-unmatch" as otherwise it would try to remove files that are not present. This could be indication of a bug.
git-blame
didn't help resolve this as it was hit by first commit,Copy over 0def288aa853fb88de061b0402533f226458116b from osrt
We get same output over multiple repos with this prior and post patpch. Seems fine. 🙈
4a37489132
to4d8813c1c2
Fixed Date: diff due to timezone.
git log
is now same as in sha1 version4d8813c1c2
to5da7861c2a