Title: Does git-sizer count objects managed by Git LFS? · Issue #50 · github/git-sizer · GitHub
Open Graph Title: Does git-sizer count objects managed by Git LFS? · Issue #50 · github/git-sizer
X Title: Does git-sizer count objects managed by Git LFS? · Issue #50 · github/git-sizer
Description: I have a largish bare repo with Git LFS installed (SVN to Git migration): proj.git (BARE:master) $ git-sizer Processing blobs: 1107392 Processing trees: 178226 Processing commits: 29412 Matching commits to trees: 29412 Processing annotat...
Open Graph Description: I have a largish bare repo with Git LFS installed (SVN to Git migration): proj.git (BARE:master) $ git-sizer Processing blobs: 1107392 Processing trees: 178226 Processing commits: 29412 Matching co...
X Description: I have a largish bare repo with Git LFS installed (SVN to Git migration): proj.git (BARE:master) $ git-sizer Processing blobs: 1107392 Processing trees: 178226 Processing commits: 29412 Matching co...
Opengraph URL: https://github.com/github/git-sizer/issues/50
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does git-sizer count objects managed by Git LFS?","articleBody":"I have a largish bare repo with Git LFS installed (SVN to Git migration):\r\n\r\n```console\r\nproj.git (BARE:master) $ git-sizer\r\nProcessing blobs: 1107392\r\nProcessing trees: 178226\r\nProcessing commits: 29412\r\nMatching commits to trees: 29412\r\nProcessing annotated tags: 0\r\nProcessing references: 24\r\n| Name | Value | Level of concern |\r\n| ---------------------------- | --------- | ------------------------------ |\r\n| Overall repository size | | |\r\n| * Blobs | | |\r\n| * Total size | 12.8 GiB | * |\r\n| | | |\r\n| Biggest objects | | |\r\n| * Trees | | |\r\n| * Maximum entries [1] | 1.96 k | * |\r\n| * Blobs | | |\r\n| * Maximum size [2] | 113 MiB | *********** |\r\n| | | |\r\n| Biggest checkouts | | |\r\n| * Number of directories [3] | 13.3 k | ****** |\r\n| * Maximum path depth [4] | 18 | * |\r\n| * Maximum path length [5] | 232 B | ** |\r\n| * Number of files [6] | 910 k | ****************** |\r\n| * Total size of files [7] | 3.37 GiB | *** |\r\n```\r\n\r\nI've written a little `git lfs ls-file` helper [git_lfs_calculate_size_by_type.py](https://gist.github.com/mloskot/a648d11468f56e3b7a4f3ffb5fe7a9c0) which reports for `proj.git` repo this:\r\n\r\n```console\r\nGit LFS objects summary:\r\n.lib: count: 1111 size: 8764.66 MB\r\n.dll: count: 749 size: 1427.98 MB\r\n.pdb: count: 612 size: 2814.09 MB\r\n.exe: count: 786 size: 2005.72 MB\r\n.zip: count: 24 size: 1153.65 MB\r\nTotal: count: 3282 size: 16166.11 MB\r\n```\r\n\r\nDoes the latter `16166.11 MB` relate to the former `12.8 GiB` in any way?\r\nOr, is the _grand_ total of the repo, Git and Git LFS objects, a sum of the two figure?\r\n","author":{"url":"https://github.com/mloskot","@type":"Person","name":"mloskot"},"datePublished":"2018-11-13T18:55:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/50/git-sizer/issues/50"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2b55b683-fe2b-2085-3f2d-d95c177b1900 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0C6:20FD81:920756C:BC8740F:6976F577 |
| html-safe-nonce | 695190b6b1f458188e3328f8f662fd7cb6e661e9a1f5f7dc743366b65aa82b8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEM2OjIwRkQ4MTo5MjA3NTZDOkJDODc0MEY6Njk3NkY1NzciLCJ2aXNpdG9yX2lkIjoiMzY2MjI4MDUxODcwODY4ODI0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 715545a3e916ee09092b0ac465c1c5ce23a41e0e0d20fe51ee52959fae64481d |
| hovercard-subject-tag | issue:380373664 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/git-sizer/50/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff6a6b54b0a3f58af344bc920c105071072601d66de74128a627b4b039ade921/github/git-sizer/issues/50 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff6a6b54b0a3f58af344bc920c105071072601d66de74128a627b4b039ade921/github/git-sizer/issues/50 |
| og:image:alt | I have a largish bare repo with Git LFS installed (SVN to Git migration): proj.git (BARE:master) $ git-sizer Processing blobs: 1107392 Processing trees: 178226 Processing commits: 29412 Matching co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mloskot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/git-sizer git https://github.com/github/git-sizer.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 119228008 |
| octolytics-dimension-repository_nwo | github/git-sizer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 119228008 |
| octolytics-dimension-repository_network_root_nwo | github/git-sizer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width