Skip to content

Commit 7188c36

Browse files
Wire branch completion into git log argument position (#264)
Co-authored-by: Oz <oz-agent@warp.dev>
1 parent 57a98d3 commit 7188c36

1 file changed

Lines changed: 199 additions & 0 deletions

File tree

command-signatures/json/git.json

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4635,6 +4635,76 @@
46354635
"name": "--stat",
46364636
"description": "Include which files were altered and the relative number of lines that were added or deleted from each of them"
46374637
},
4638+
{
4639+
"name": "--graph",
4640+
"description": "Draw a text-based graphical representation of the commit history"
4641+
},
4642+
{
4643+
"name": "--all",
4644+
"description": "Pretend as if all the refs in refs/ are listed on the command line"
4645+
},
4646+
{
4647+
"name": "--decorate",
4648+
"description": "Print out the ref names of any commits that are shown",
4649+
"args": {
4650+
"name": "format",
4651+
"isOptional": true,
4652+
"suggestions": [
4653+
"short",
4654+
"full",
4655+
"auto",
4656+
"no"
4657+
]
4658+
}
4659+
},
4660+
{
4661+
"name": "--no-decorate",
4662+
"description": "Do not print ref names"
4663+
},
4664+
{
4665+
"name": "--abbrev-commit",
4666+
"description": "Show only a partial prefix of the full 40-byte commit object name"
4667+
},
4668+
{
4669+
"name": [
4670+
"-n",
4671+
"--max-count"
4672+
],
4673+
"description": "Limit the number of commits to output",
4674+
"args": {
4675+
"name": "number"
4676+
}
4677+
},
4678+
{
4679+
"name": "--skip",
4680+
"description": "Skip number commits before starting to show the commit output",
4681+
"requiresSeparator": true,
4682+
"args": {
4683+
"name": "number"
4684+
}
4685+
},
4686+
{
4687+
"name": [
4688+
"--since",
4689+
"--after"
4690+
],
4691+
"description": "Show commits more recent than a specific date",
4692+
"requiresSeparator": true,
4693+
"args": {
4694+
"name": "date"
4695+
}
4696+
},
4697+
{
4698+
"name": [
4699+
"--until",
4700+
"--before"
4701+
],
4702+
"description": "Show commits older than a specific date",
4703+
"requiresSeparator": true,
4704+
"args": {
4705+
"name": "date"
4706+
}
4707+
},
46384708
{
46394709
"name": "--grep",
46404710
"description": "Search for commits with a commit message that matches <pattern>",
@@ -4650,6 +4720,135 @@
46504720
"args": {
46514721
"name": "pattern"
46524722
}
4723+
},
4724+
{
4725+
"name": "--committer",
4726+
"description": "Limit commits to ones with committer header lines that match <pattern>",
4727+
"requiresSeparator": true,
4728+
"args": {
4729+
"name": "pattern"
4730+
}
4731+
},
4732+
{
4733+
"name": "--all-match",
4734+
"description": "Limit output to commits that match all given --grep filters"
4735+
},
4736+
{
4737+
"name": "--invert-grep",
4738+
"description": "Limit output to commits that do not match --grep pattern"
4739+
},
4740+
{
4741+
"name": [
4742+
"--format",
4743+
"--pretty"
4744+
],
4745+
"description": "Pretty-print the contents of the commit logs in a given format",
4746+
"requiresSeparator": true,
4747+
"args": {
4748+
"name": "format",
4749+
"suggestions": [
4750+
"oneline",
4751+
"short",
4752+
"medium",
4753+
"full",
4754+
"fuller",
4755+
"reference",
4756+
"email",
4757+
"raw"
4758+
]
4759+
}
4760+
},
4761+
{
4762+
"name": "--date",
4763+
"description": "Override the date format",
4764+
"requiresSeparator": true,
4765+
"args": {
4766+
"name": "format",
4767+
"suggestions": [
4768+
"relative",
4769+
"local",
4770+
"iso",
4771+
"iso-strict",
4772+
"rfc",
4773+
"short",
4774+
"raw",
4775+
"human",
4776+
"unix"
4777+
]
4778+
}
4779+
},
4780+
{
4781+
"name": "--first-parent",
4782+
"description": "Follow only the first parent commit upon seeing a merge commit"
4783+
},
4784+
{
4785+
"name": "--merges",
4786+
"description": "Print only merge commits"
4787+
},
4788+
{
4789+
"name": "--no-merges",
4790+
"description": "Do not print commits with more than one parent"
4791+
},
4792+
{
4793+
"name": "--reverse",
4794+
"description": "Output the commits chosen to be shown in reverse order"
4795+
},
4796+
{
4797+
"name": "--name-only",
4798+
"description": "Show only names of changed files"
4799+
},
4800+
{
4801+
"name": "--name-status",
4802+
"description": "Show only names and status of changed files"
4803+
},
4804+
{
4805+
"name": "--diff-filter",
4806+
"description": "Select only files that are Added (A), Copied (C), Deleted (D), Modified (M), Renamed (R), etc.",
4807+
"requiresSeparator": true,
4808+
"args": {
4809+
"name": "filter",
4810+
"suggestions": [
4811+
"A",
4812+
"C",
4813+
"D",
4814+
"M",
4815+
"R",
4816+
"T",
4817+
"U",
4818+
"X",
4819+
"B"
4820+
]
4821+
}
4822+
},
4823+
{
4824+
"name": "-S",
4825+
"description": "Look for differences that change the number of occurrences of the specified string",
4826+
"args": {
4827+
"name": "string"
4828+
}
4829+
},
4830+
{
4831+
"name": "-G",
4832+
"description": "Look for differences whose patch text contains added/removed lines that match <regex>",
4833+
"args": {
4834+
"name": "regex"
4835+
}
4836+
},
4837+
{
4838+
"name": "--left-right",
4839+
"description": "Mark which side of a symmetric difference a commit is reachable from"
4840+
},
4841+
{
4842+
"name": "--cherry-pick",
4843+
"description": "Omit any commit that introduces the same change as another commit on the other side of a symmetric difference"
4844+
},
4845+
{
4846+
"name": "--full-diff",
4847+
"description": "Show the full diff for commits that touch the specified paths"
4848+
},
4849+
{
4850+
"name": "--simplify-by-decoration",
4851+
"description": "Commits that are referred by some branch or tag are selected"
46534852
}
46544853
],
46554854
"args": [

0 commit comments

Comments
 (0)