mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
allow opening lazygit to a specific panel
This commit is contained in:
parent
36aa01c3ac
commit
b1e4968d0b
22 changed files with 152 additions and 24 deletions
|
@ -0,0 +1 @@
|
|||
blah
|
1
test/integration/gitArg/expected/repo/.git_keep/HEAD
Normal file
1
test/integration/gitArg/expected/repo/.git_keep/HEAD
Normal file
|
@ -0,0 +1 @@
|
|||
ref: refs/heads/master
|
10
test/integration/gitArg/expected/repo/.git_keep/config
Normal file
10
test/integration/gitArg/expected/repo/.git_keep/config
Normal file
|
@ -0,0 +1,10 @@
|
|||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
||||
[user]
|
||||
email = CI@example.com
|
||||
name = CI
|
|
@ -0,0 +1 @@
|
|||
Unnamed repository; edit this file 'description' to name the repository.
|
BIN
test/integration/gitArg/expected/repo/.git_keep/index
Normal file
BIN
test/integration/gitArg/expected/repo/.git_keep/index
Normal file
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
# git ls-files --others --exclude-from=.git/info/exclude
|
||||
# Lines that start with '#' are comments.
|
||||
# For a project mostly in C, the following would be a good set of
|
||||
# exclude patterns (uncomment them if you want to use them):
|
||||
# *.[oa]
|
||||
# *~
|
||||
.DS_Store
|
|
@ -0,0 +1,3 @@
|
|||
0000000000000000000000000000000000000000 45fe0608335366a31a1ad6dacbdcc6b17d31a5b6 CI <CI@example.com> 1654768290 +1000 commit (initial): blah
|
||||
45fe0608335366a31a1ad6dacbdcc6b17d31a5b6 45fe0608335366a31a1ad6dacbdcc6b17d31a5b6 CI <CI@example.com> 1654768290 +1000 checkout: moving from master to other
|
||||
45fe0608335366a31a1ad6dacbdcc6b17d31a5b6 45fe0608335366a31a1ad6dacbdcc6b17d31a5b6 CI <CI@example.com> 1654768291 +1000 checkout: moving from other to master
|
|
@ -0,0 +1 @@
|
|||
0000000000000000000000000000000000000000 45fe0608335366a31a1ad6dacbdcc6b17d31a5b6 CI <CI@example.com> 1654768290 +1000 commit (initial): blah
|
|
@ -0,0 +1 @@
|
|||
0000000000000000000000000000000000000000 45fe0608335366a31a1ad6dacbdcc6b17d31a5b6 CI <CI@example.com> 1654768290 +1000 branch: Created from HEAD
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
45fe0608335366a31a1ad6dacbdcc6b17d31a5b6
|
|
@ -0,0 +1 @@
|
|||
45fe0608335366a31a1ad6dacbdcc6b17d31a5b6
|
1
test/integration/gitArg/recording.json
Normal file
1
test/integration/gitArg/recording.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"KeyEvents":[{"Timestamp":620,"Mod":0,"Key":258,"Ch":0},{"Timestamp":995,"Mod":0,"Key":256,"Ch":32},{"Timestamp":1865,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}
|
14
test/integration/gitArg/setup.sh
Normal file
14
test/integration/gitArg/setup.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cd $1
|
||||
|
||||
git init
|
||||
|
||||
git config user.email "CI@example.com"
|
||||
git config user.name "CI"
|
||||
|
||||
git commit --allow-empty -m "blah"
|
||||
|
||||
git checkout -b other
|
5
test/integration/gitArg/test.json
Normal file
5
test/integration/gitArg/test.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"description": "Open lazygit to the branches panel",
|
||||
"speed": 10,
|
||||
"extraCmdArgs": "branch"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue