mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-16 05:05:46 +02:00
branch rename test
This commit is contained in:
parent
bde324820d
commit
a3b0efb82e
@ -0,0 +1 @@
|
||||
file0
|
1
test/integration/branchRename/expected/.git_keep/HEAD
Normal file
1
test/integration/branchRename/expected/.git_keep/HEAD
Normal file
@ -0,0 +1 @@
|
||||
ref: refs/heads/123
|
10
test/integration/branchRename/expected/.git_keep/config
Normal file
10
test/integration/branchRename/expected/.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/branchRename/expected/.git_keep/index
Normal file
BIN
test/integration/branchRename/expected/.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
|
11
test/integration/branchRename/expected/.git_keep/logs/HEAD
Normal file
11
test/integration/branchRename/expected/.git_keep/logs/HEAD
Normal file
@ -0,0 +1,11 @@
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 commit (initial): file0
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 checkout: moving from master to new-branch
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 checkout: moving from new-branch to new-branch-2
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 checkout: moving from new-branch-2 to new-branch-3
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 checkout: moving from new-branch-3 to old-branch
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 checkout: moving from old-branch to old-branch-2
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 checkout: moving from old-branch-2 to old-branch-3
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 0000000000000000000000000000000000000000 CI <CI@example.com> 1617684766 +1000 Branch: renamed refs/heads/old-branch-3 to refs/heads/old-branch-10
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684766 +1000 Branch: renamed refs/heads/old-branch-3 to refs/heads/old-branch-10
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684766 +1000 checkout: moving from old-branch-10 to old-branch-10
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684772 +1000 checkout: moving from old-branch-10 to 123
|
@ -0,0 +1,2 @@
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 branch: Created from HEAD
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684772 +1000 Branch: renamed refs/heads/old-branch-2 to refs/heads/123
|
@ -0,0 +1 @@
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 commit (initial): file0
|
@ -0,0 +1 @@
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 branch: Created from HEAD
|
@ -0,0 +1 @@
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 branch: Created from HEAD
|
@ -0,0 +1 @@
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 branch: Created from HEAD
|
@ -0,0 +1 @@
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 branch: Created from HEAD
|
@ -0,0 +1,2 @@
|
||||
0000000000000000000000000000000000000000 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684760 +1000 branch: Created from HEAD
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276 CI <CI@example.com> 1617684766 +1000 Branch: renamed refs/heads/old-branch-3 to refs/heads/old-branch-10
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276
|
@ -0,0 +1 @@
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276
|
@ -0,0 +1 @@
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276
|
@ -0,0 +1 @@
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276
|
@ -0,0 +1 @@
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276
|
@ -0,0 +1 @@
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276
|
@ -0,0 +1 @@
|
||||
764ffd4a377531ac55c5c0a1ce0b5f8dfedb3276
|
1
test/integration/branchRename/expected/file0
Normal file
1
test/integration/branchRename/expected/file0
Normal file
@ -0,0 +1 @@
|
||||
test0
|
1
test/integration/branchRename/recording.json
Normal file
1
test/integration/branchRename/recording.json
Normal file
@ -0,0 +1 @@
|
||||
{"KeyEvents":[{"Timestamp":550,"Mod":0,"Key":259,"Ch":0},{"Timestamp":919,"Mod":0,"Key":256,"Ch":82},{"Timestamp":1568,"Mod":0,"Key":259,"Ch":0},{"Timestamp":1792,"Mod":0,"Key":259,"Ch":0},{"Timestamp":1984,"Mod":0,"Key":259,"Ch":0},{"Timestamp":2152,"Mod":0,"Key":259,"Ch":0},{"Timestamp":2304,"Mod":0,"Key":259,"Ch":0},{"Timestamp":2464,"Mod":0,"Key":259,"Ch":0},{"Timestamp":2624,"Mod":0,"Key":259,"Ch":0},{"Timestamp":2800,"Mod":0,"Key":259,"Ch":0},{"Timestamp":2968,"Mod":0,"Key":259,"Ch":0},{"Timestamp":3151,"Mod":0,"Key":259,"Ch":0},{"Timestamp":3327,"Mod":0,"Key":259,"Ch":0},{"Timestamp":3512,"Mod":0,"Key":259,"Ch":0},{"Timestamp":3696,"Mod":0,"Key":259,"Ch":0},{"Timestamp":3872,"Mod":0,"Key":259,"Ch":0},{"Timestamp":4064,"Mod":0,"Key":259,"Ch":0},{"Timestamp":4743,"Mod":0,"Key":127,"Ch":127},{"Timestamp":5112,"Mod":0,"Key":256,"Ch":49},{"Timestamp":5208,"Mod":0,"Key":256,"Ch":48},{"Timestamp":5543,"Mod":0,"Key":13,"Ch":13},{"Timestamp":6256,"Mod":0,"Key":258,"Ch":0},{"Timestamp":6919,"Mod":0,"Key":256,"Ch":82},{"Timestamp":7896,"Mod":0,"Key":271,"Ch":0},{"Timestamp":8048,"Mod":0,"Key":271,"Ch":0},{"Timestamp":8175,"Mod":0,"Key":271,"Ch":0},{"Timestamp":8311,"Mod":0,"Key":271,"Ch":0},{"Timestamp":8440,"Mod":0,"Key":271,"Ch":0},{"Timestamp":8584,"Mod":0,"Key":271,"Ch":0},{"Timestamp":8720,"Mod":0,"Key":271,"Ch":0},{"Timestamp":8856,"Mod":0,"Key":271,"Ch":0},{"Timestamp":8991,"Mod":0,"Key":271,"Ch":0},{"Timestamp":9136,"Mod":0,"Key":271,"Ch":0},{"Timestamp":9280,"Mod":0,"Key":271,"Ch":0},{"Timestamp":9424,"Mod":0,"Key":271,"Ch":0},{"Timestamp":9560,"Mod":0,"Key":271,"Ch":0},{"Timestamp":10200,"Mod":2,"Key":21,"Ch":21},{"Timestamp":11079,"Mod":0,"Key":256,"Ch":49},{"Timestamp":11287,"Mod":0,"Key":256,"Ch":50},{"Timestamp":11383,"Mod":0,"Key":256,"Ch":51},{"Timestamp":11728,"Mod":0,"Key":13,"Ch":13},{"Timestamp":12423,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}
|
19
test/integration/branchRename/setup.sh
Normal file
19
test/integration/branchRename/setup.sh
Normal file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
git init
|
||||
|
||||
git config user.email "CI@example.com"
|
||||
git config user.name "CI"
|
||||
|
||||
echo test0 > file0
|
||||
git add .
|
||||
git commit -am file0
|
||||
|
||||
git checkout -b new-branch
|
||||
git checkout -b new-branch-2
|
||||
git checkout -b new-branch-3
|
||||
git checkout -b old-branch
|
||||
git checkout -b old-branch-2
|
||||
git checkout -b old-branch-3
|
1
test/integration/branchRename/test.json
Normal file
1
test/integration/branchRename/test.json
Normal file
@ -0,0 +1 @@
|
||||
{ "description": "Checking out a branch with name suggestions", "speed": 100 }
|
Loading…
Reference in New Issue
Block a user