forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
survey: add vector of largest objects for various scaling dimensions
Create `struct large_item` and `struct large_item_vec` to capture the n largest commits, trees, and blobs under various scaling dimensions, such as size in bytes, number of commit parents, or number of entries in a tree. Each of these have a command line option to set them independently. Signed-off-by: Jeff Hostetler <[email protected]>
- Loading branch information
1 parent
9897239
commit d90ba6a
Showing
4 changed files
with
304 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
survey.progress:: | ||
Boolean to show/hide progress information. Defaults to | ||
true when interactive (stderr is bound to a TTY). | ||
|
||
survey.showBlobSizes:: | ||
A non-negative integer value. Requests details on the <n> | ||
largest file blobs by size in bytes. Provides a default | ||
value for `--blob-sizes=<n>` in linkgit:git-survey[1]. | ||
|
||
survey.showCommitParents:: | ||
A non-negative integer value. Requests details on the <n> | ||
commits with the most number of parents. Provides a default | ||
value for `--commit-parents=<n>` in linkgit:git-survey[1]. | ||
|
||
survey.showCommitSizes:: | ||
A non-negative integer value. Requests details on the <n> | ||
largest commits by size in bytes. Generally, these are the | ||
commits with the largest commit messages. Provides a default | ||
value for `--commit-sizes=<n>` in linkgit:git-survey[1]. | ||
|
||
survey.showTreeEntries:: | ||
A non-negative integer value. Requests details on the <n> | ||
trees (directories) with the most number of entries (files | ||
and subdirectories). Provides a default value for | ||
`--tree-entries=<n>` in linkgit:git-survey[1]. | ||
|
||
survey.showTreeSizes:: | ||
A non-negative integer value. Requests details on the <n> | ||
largest trees (directories) by size in bytes. This will | ||
set will usually be equal to the `survey.showTreeEntries` | ||
set, but may be skewed by very long file or subdirectory | ||
entry names. Provides a default value for | ||
`--tree-sizes=<n>` in linkgit:git-survey[1]. | ||
|
||
survey.verbose:: | ||
Boolean to show/hide verbose output. Default to false. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.