1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-27 22:38:09 +02: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��A
�0@Q�9E��d�����#if���R"����~��Okks��x껈�) ���jQ&b-�ꉪ�ũG ��]^ݪOY�3�N�V��5 �B
1��HXL~����a��a|�'�m�˴��
Ȉ�ɞ�3G=����M�꼈7?�S9�

View File

@@ -0,0 +1,2 @@
x��A
�0@Ѯs��ʌN�J\y��L���")���#t�y�S5[˥���*�`�e�3���쩋T^���%�{�⧽�� �i����-U{Iρ���ѝ��4��;��uSr3m,�

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��A
�0@Q�9E��d�����#if���R"����~��Okks��x껈�) ���jQ&b-�ꉪ�ũG ��]^ݪOY�3�N�V��5 �B
1��HXL~����a��a|�'�m�˴��
Ȉ�ɞ�3G=����M�꼈7?�S9�

View File

@@ -0,0 +1,2 @@
x��A
�0@Ѯs��ʌN�J\y��L���")���#t�y�S5[˥���*�`�e�3���쩋T^���%�{�⧽�� �i����-U{Iρ���ѝ��4��;��uSr3m,�

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��A
�0@Q�9���$ӱ"BW=F��`���D���#���ş�Z�(tj�*�k$L��/EՄEY,s�>0���@�nK��X>�
3�#��X��(�1�7�ҙ�K��\wF�

View File

@@ -0,0 +1,3 @@
x��A
�0Fa�9���ߎ�D��z�4�`�C�D���#�}|�R5[���vU�*��(�0j�̊ 9��(/�g�ӵs�ݞu�i��4?����%U����`:޻���rg߲n
�0�,�

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��A
�0@Q�9���$ӱ"BW=F��`���D���#���ş�Z�(tj�*�k$L��/EՄEY,s�>0���@�nK��X>�
3�#��X��(�1�7�ҙ�K��\wF�

View File

@@ -0,0 +1,3 @@
x��A
�0Fa�9���ߎ�D��z�4�`�C�D���#�}|�R5[���vU�*��(�0j�̊ 9��(/�g�ӵs�ݞu�i��4?����%U����`:޻���rg߲n
�0�,�

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