1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

use cached git config

This commit is contained in:
Jesse Duffield
2021-10-23 09:52:19 +11:00
parent 5011cac7ea
commit b6a5e9d615
145 changed files with 596 additions and 290 deletions

View File

@ -0,0 +1 @@
myfile3

View File

@ -0,0 +1 @@
d0d3bfe09c1a5a9631f3041a184d6b9c6d927c83 branch 'master' of ../actual_remote

View File

@ -0,0 +1 @@
ref: refs/heads/master

View File

@ -0,0 +1,18 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[user]
email = CI@example.com
name = CI
[remote "origin"]
url = ../actual_remote
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[push]
followTags = true

View File

@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.

View File

@ -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

View File

@ -0,0 +1,3 @@
0000000000000000000000000000000000000000 f27af92910b10e6ddf592fae975337355579464b CI <CI@example.com> 1634944096 +1100 commit (initial): myfile1
f27af92910b10e6ddf592fae975337355579464b d0d3bfe09c1a5a9631f3041a184d6b9c6d927c83 CI <CI@example.com> 1634944096 +1100 commit: myfile2
d0d3bfe09c1a5a9631f3041a184d6b9c6d927c83 aea6b2960cc3e7a2453ce3490ca09d090d7ce223 CI <CI@example.com> 1634944096 +1100 commit: myfile3

View File

@ -0,0 +1,3 @@
0000000000000000000000000000000000000000 f27af92910b10e6ddf592fae975337355579464b CI <CI@example.com> 1634944096 +1100 commit (initial): myfile1
f27af92910b10e6ddf592fae975337355579464b d0d3bfe09c1a5a9631f3041a184d6b9c6d927c83 CI <CI@example.com> 1634944096 +1100 commit: myfile2
d0d3bfe09c1a5a9631f3041a184d6b9c6d927c83 aea6b2960cc3e7a2453ce3490ca09d090d7ce223 CI <CI@example.com> 1634944096 +1100 commit: myfile3

View File

@ -0,0 +1,2 @@
0000000000000000000000000000000000000000 d0d3bfe09c1a5a9631f3041a184d6b9c6d927c83 CI <CI@example.com> 1634944096 +1100 fetch origin: storing head
d0d3bfe09c1a5a9631f3041a184d6b9c6d927c83 aea6b2960cc3e7a2453ce3490ca09d090d7ce223 CI <CI@example.com> 1634944097 +1100 update by push

View File

@ -0,0 +1,4 @@
x<01><>A
<EFBFBD>0@Q<>9E<39><45>d<EFBFBD><64><EFBFBD><11><>#if<69><66><EFBFBD>R"<22><><EFBFBD><11>~<7E><>Okks<6B><73>x껈<78>) <20><><EFBFBD>jQ&b-<14><EFBFBD>ũG <20><>]^ݪOY<4F>3<EFBFBD>N<>V<EFBFBD><56>5 <0B>B
1<EFBFBD><EFBFBD>HXL~<7E><><EFBFBD><EFBFBD>a<EFBFBD><61>a|<7C>'<27>m<EFBFBD>˴<EFBFBD><CBB4>
Ȉ<EFBFBD>ɞ<01>3G=<3D><><EFBFBD><EFBFBD>M<EFBFBD>꼈7?<3F>S9<53>

View File

@ -0,0 +1,2 @@
x<01><>A
<EFBFBD>0@Ѯs<D1AE><73>ʌN<CA8C>J\y<><79>L<EFBFBD><4C><EFBFBD>")<29><><EFBFBD>#t<>y<EFBFBD>S5[˥<><CBA5><EFBFBD>*<2A>`<60>e<08>3<EFBFBD><33><EFBFBD>쩋T^<5E><><EFBFBD>%<25>{<7B><EFBFBD><0E> <0C>i<1E><1B><><EFBFBD>-U{Iρ<19><><EFBFBD>ѝ<><D19D>4<EFBFBD><34>;<3B><>uSr3m,<2C>

View File

@ -0,0 +1 @@
aea6b2960cc3e7a2453ce3490ca09d090d7ce223

View File

@ -0,0 +1 @@
aea6b2960cc3e7a2453ce3490ca09d090d7ce223

View File

@ -0,0 +1 @@
3410e6811881ccede9ff762c875f9b99a3e6eaef

View File

@ -0,0 +1 @@
test1

View File

@ -0,0 +1 @@
test2

View File

@ -0,0 +1 @@
test3

View File

@ -0,0 +1 @@
ref: refs/heads/master

View File

@ -0,0 +1,8 @@
[core]
repositoryformatversion = 0
filemode = true
bare = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = /Users/jesseduffieldduffield/go/src/github.com/jesseduffield/lazygit/test/integration/pushFollowTags/./actual

View File

@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.

View File

@ -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

View File

@ -0,0 +1,4 @@
x<01><>A
<EFBFBD>0@Q<>9E<39><45>d<EFBFBD><64><EFBFBD><11><>#if<69><66><EFBFBD>R"<22><><EFBFBD><11>~<7E><>Okks<6B><73>x껈<78>) <20><><EFBFBD>jQ&b-<14><EFBFBD>ũG <20><>]^ݪOY<4F>3<EFBFBD>N<>V<EFBFBD><56>5 <0B>B
1<EFBFBD><EFBFBD>HXL~<7E><><EFBFBD><EFBFBD>a<EFBFBD><61>a|<7C>'<27>m<EFBFBD>˴<EFBFBD><CBB4>
Ȉ<EFBFBD>ɞ<01>3G=<3D><><EFBFBD><EFBFBD>M<EFBFBD>꼈7?<3F>S9<53>

View File

@ -0,0 +1,2 @@
x<01><>A
<EFBFBD>0@Ѯs<D1AE><73>ʌN<CA8C>J\y<><79>L<EFBFBD><4C><EFBFBD>")<29><><EFBFBD>#t<>y<EFBFBD>S5[˥<><CBA5><EFBFBD>*<2A>`<60>e<08>3<EFBFBD><33><EFBFBD>쩋T^<5E><><EFBFBD>%<25>{<7B><EFBFBD><0E> <0C>i<1E><1B><><EFBFBD>-U{Iρ<19><><EFBFBD>ѝ<><D19D>4<EFBFBD><34>;<3B><>uSr3m,<2C>

View File

@ -0,0 +1,2 @@
# pack-refs with: peeled fully-peeled sorted
d0d3bfe09c1a5a9631f3041a184d6b9c6d927c83 refs/heads/master

View File

@ -0,0 +1 @@
aea6b2960cc3e7a2453ce3490ca09d090d7ce223

View File

@ -0,0 +1 @@
3410e6811881ccede9ff762c875f9b99a3e6eaef

View File

@ -0,0 +1 @@
{"KeyEvents":[{"Timestamp":682,"Mod":0,"Key":256,"Ch":80},{"Timestamp":1641,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}

View File

@ -0,0 +1,32 @@
#!/bin/sh
set -e
cd $1
git init
git config user.email "CI@example.com"
git config user.name "CI"
echo test1 > myfile1
git add .
git commit -am "myfile1"
echo test2 > myfile2
git add .
git commit -am "myfile2"
cd ..
git clone --bare ./actual actual_remote
cd actual
echo test3 > myfile3
git add .
git commit -am "myfile3"
git remote add origin ../actual_remote
git fetch origin
git branch --set-upstream-to=origin/master master
git config push.followTags true
git tag -a v1.0 -m "my version 1.0"

View File

@ -0,0 +1 @@
{ "description": "push changes to the remote, when --follow-tags is configured", "speed": 10 }

View File

@ -0,0 +1 @@
myfile3

View File

@ -0,0 +1 @@
8f99b05bf3462e1a797335475bff5fabe3ae9ec5 branch 'master' of ../actual_remote

View File

@ -0,0 +1 @@
ref: refs/heads/master

View File

@ -0,0 +1,16 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[user]
email = CI@example.com
name = CI
[remote "origin"]
url = ../actual_remote
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master

View File

@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.

View File

@ -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

View File

@ -0,0 +1,3 @@
0000000000000000000000000000000000000000 fb20b9e96648c61699f9faf3a4383340fefd5f91 CI <CI@example.com> 1634944114 +1100 commit (initial): myfile1
fb20b9e96648c61699f9faf3a4383340fefd5f91 8f99b05bf3462e1a797335475bff5fabe3ae9ec5 CI <CI@example.com> 1634944114 +1100 commit: myfile2
8f99b05bf3462e1a797335475bff5fabe3ae9ec5 03009ca2af4be2a9bb49206974ce9c97eaa2da23 CI <CI@example.com> 1634944114 +1100 commit: myfile3

View File

@ -0,0 +1,3 @@
0000000000000000000000000000000000000000 fb20b9e96648c61699f9faf3a4383340fefd5f91 CI <CI@example.com> 1634944114 +1100 commit (initial): myfile1
fb20b9e96648c61699f9faf3a4383340fefd5f91 8f99b05bf3462e1a797335475bff5fabe3ae9ec5 CI <CI@example.com> 1634944114 +1100 commit: myfile2
8f99b05bf3462e1a797335475bff5fabe3ae9ec5 03009ca2af4be2a9bb49206974ce9c97eaa2da23 CI <CI@example.com> 1634944114 +1100 commit: myfile3

View File

@ -0,0 +1,2 @@
0000000000000000000000000000000000000000 8f99b05bf3462e1a797335475bff5fabe3ae9ec5 CI <CI@example.com> 1634944115 +1100 fetch origin: storing head
8f99b05bf3462e1a797335475bff5fabe3ae9ec5 03009ca2af4be2a9bb49206974ce9c97eaa2da23 CI <CI@example.com> 1634944115 +1100 update by push

View File

@ -0,0 +1,3 @@
x<01><>A
<EFBFBD>0@Q<>9<EFBFBD><39><05>"BW=F<><46>`<60><><EFBFBD>D<EFBFBD><44><EFBFBD>#<23><><EFBFBD>ş<EFBFBD>Z<EFBFBD>(tj<74>*<2A>k$L<><4C>/EՄEY,s<>>0<><10><>@<40>nK<6E><4B>X><3E>
3<EFBFBD>#<23><>X<EFBFBD><58>(<28>1<EFBFBD>7<EFBFBD>ҙ<EFBFBD>K<EFBFBD><4B>\wF<>

View File

@ -0,0 +1,3 @@
x<01><>A
<EFBFBD>0Fa<46>9<EFBFBD><39><05>ߎ<EFBFBD>D<><44>z<EFBFBD>4<EFBFBD>`<60>C<EFBFBD>D<EFBFBD><44><EFBFBD>#<23>}|<7C>R5[<1B><><EFBFBD>vU<76>*<2A><>(<28>0j<30>̊ 9<><39>(/<2F>g<EFBFBD>ӵs<D3B5>ݞu<DD9E>i<EFBFBD><69>4?<3F><13><><EFBFBD>%U<><13><><EFBFBD>`:޻<><1E><>rg߲n
<EFBFBD>0<>,<2C>

View File

@ -0,0 +1 @@
03009ca2af4be2a9bb49206974ce9c97eaa2da23

View File

@ -0,0 +1 @@
03009ca2af4be2a9bb49206974ce9c97eaa2da23

View File

@ -0,0 +1 @@
e19bd88e6b3a0d7e4ffc1de39b34d5a312fb9b77

View File

@ -0,0 +1 @@
test1

View File

@ -0,0 +1 @@
test2

View File

@ -0,0 +1 @@
test3

View File

@ -0,0 +1 @@
ref: refs/heads/master

View File

@ -0,0 +1,8 @@
[core]
repositoryformatversion = 0
filemode = true
bare = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = /Users/jesseduffieldduffield/go/src/github.com/jesseduffield/lazygit/test/integration/pushNoFollowTags/./actual

View File

@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.

View File

@ -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

View File

@ -0,0 +1,3 @@
x<01><>A
<EFBFBD>0@Q<>9<EFBFBD><39><05>"BW=F<><46>`<60><><EFBFBD>D<EFBFBD><44><EFBFBD>#<23><><EFBFBD>ş<EFBFBD>Z<EFBFBD>(tj<74>*<2A>k$L<><4C>/EՄEY,s<>>0<><10><>@<40>nK<6E><4B>X><3E>
3<EFBFBD>#<23><>X<EFBFBD><58>(<28>1<EFBFBD>7<EFBFBD>ҙ<EFBFBD>K<EFBFBD><4B>\wF<>

View File

@ -0,0 +1,3 @@
x<01><>A
<EFBFBD>0Fa<46>9<EFBFBD><39><05>ߎ<EFBFBD>D<><44>z<EFBFBD>4<EFBFBD>`<60>C<EFBFBD>D<EFBFBD><44><EFBFBD>#<23>}|<7C>R5[<1B><><EFBFBD>vU<76>*<2A><>(<28>0j<30>̊ 9<><39>(/<2F>g<EFBFBD>ӵs<D3B5>ݞu<DD9E>i<EFBFBD><69>4?<3F><13><><EFBFBD>%U<><13><><EFBFBD>`:޻<><1E><>rg߲n
<EFBFBD>0<>,<2C>

View File

@ -0,0 +1,2 @@
# pack-refs with: peeled fully-peeled sorted
8f99b05bf3462e1a797335475bff5fabe3ae9ec5 refs/heads/master

View File

@ -0,0 +1 @@
03009ca2af4be2a9bb49206974ce9c97eaa2da23

View File

@ -0,0 +1 @@
{"KeyEvents":[{"Timestamp":636,"Mod":0,"Key":256,"Ch":80},{"Timestamp":1563,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}

View File

@ -0,0 +1,31 @@
#!/bin/sh
set -e
cd $1
git init
git config user.email "CI@example.com"
git config user.name "CI"
echo test1 > myfile1
git add .
git commit -am "myfile1"
echo test2 > myfile2
git add .
git commit -am "myfile2"
cd ..
git clone --bare ./actual actual_remote
cd actual
echo test3 > myfile3
git add .
git commit -am "myfile3"
git remote add origin ../actual_remote
git fetch origin
git branch --set-upstream-to=origin/master master
git tag -a v1.0 -m "my version 1.0"

View File

@ -0,0 +1 @@
{ "description": "push changes to the remote, when --follow-tags is not configured", "speed": 10 }

View File

@ -0,0 +1 @@
myfile2

View File

@ -0,0 +1 @@
9639a47a7955a338919b090835305898ea516c66 branch 'master' of ../actual_remote

View File

@ -0,0 +1 @@
ref: refs/heads/master

View File

@ -0,0 +1,16 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[user]
email = CI@example.com
name = CI
[remote "origin"]
url = ../actual_remote
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master

View File

@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.

Binary file not shown.

View File

@ -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

View File

@ -0,0 +1,2 @@
0000000000000000000000000000000000000000 905961711d3f0898c003c7e4da636a4c683f7934 CI <CI@example.com> 1634944441 +1100 commit (initial): myfile1
905961711d3f0898c003c7e4da636a4c683f7934 9639a47a7955a338919b090835305898ea516c66 CI <CI@example.com> 1634944441 +1100 commit: myfile2

View File

@ -0,0 +1,2 @@
0000000000000000000000000000000000000000 905961711d3f0898c003c7e4da636a4c683f7934 CI <CI@example.com> 1634944441 +1100 commit (initial): myfile1
905961711d3f0898c003c7e4da636a4c683f7934 9639a47a7955a338919b090835305898ea516c66 CI <CI@example.com> 1634944441 +1100 commit: myfile2

View File

@ -0,0 +1 @@
0000000000000000000000000000000000000000 9639a47a7955a338919b090835305898ea516c66 CI <CI@example.com> 1634944442 +1100 fetch origin: storing head

Some files were not shown because too many files have changed in this diff Show More