Compare commits

...

18 commits

Author SHA1 Message Date
Alex Janka 2512003334 yahoo 2024-08-01 15:48:53 +10:00
Alex Janka ae0af08032 no dofo 2024-08-01 15:44:50 +10:00
Alex Janka 9b18ed5af6 ffff 2024-08-01 15:44:04 +10:00
Alex Janka 060c95782f asdf 2024-08-01 15:42:32 +10:00
Alex Janka 0aaca587e8 a 2024-08-01 15:26:32 +10:00
Alex Janka aae4c66ef6 shallow again 2024-08-01 14:52:26 +10:00
Alex Janka f10bdad559 update-shallow 2024-08-01 14:51:28 +10:00
Alex Janka 83026886ac df 2024-08-01 14:47:32 +10:00
Alex Janka f601d2c698 567r56erd654er 2024-08-01 14:44:23 +10:00
Alex Janka 07cf30c601 asdf 2024-08-01 14:08:31 +10:00
Alex Janka ab4fdb55a3 dont cat shallow file 2024-08-01 12:26:28 +10:00
Alex Janka ab07e0813e awef 2024-08-01 12:25:40 +10:00
Alex Janka f84270fee0 specific depth nubmer 2024-08-01 12:22:38 +10:00
Alex Janka 9d6230e63c tags 2024-08-01 12:19:49 +10:00
Alex Janka 6ec00dbd81 asdf 2024-08-01 12:18:15 +10:00
Alex Janka fe0ccc71d6 fetch 2024-08-01 12:16:41 +10:00
Alex Janka 5064c1798b update-shallow 2024-08-01 12:11:58 +10:00
Alex Janka e6719990fa show shallow file 2024-08-01 12:09:44 +10:00
3 changed files with 29 additions and 4 deletions

View file

@ -19,12 +19,23 @@ jobs:
# run: git sparse-checkout disable; git checkout origin/main # run: git sparse-checkout disable; git checkout origin/main
- name: status - name: status
run: git status run: git status
- name: descibe - name: shallow
run: git fetch --shallow-since "1 year" --tags --recurse-submodules=no run: cat .git/shallow
- name: deepen tree
run: |
git fetch --shallow-since 2023-08-17 --tags --recurse-submodules=no --update-shallow
git fetch --shallow-since 2023-08-17 --tags --recurse-submodules=no --update-shallow
# - name: deepen tree
# run: |
# depth=0
# while ! git describe --tags main; do
# depth=$((depth + 1))
# git fetch --tags --recurse-submodules=no --depth $depth origin main
# done
- name: status - name: status
run: git status run: git status
- name: descibe - name: descibe
run: git describe --tags run: git describe --tags main
- name: show refs - name: show refs
run: find .git/refs run: find .git/refs
# - name: peepee poopoo # - name: peepee poopoo

2
file
View file

@ -7,3 +7,5 @@ additional contents
more?? more??
ANOTHER ANOTHER
.

12
thing.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
var=0
echo $var
while ! git describe --tags main; do
var=$((var + 1))
echo wow
if ((var > 3)); then
exit 0
fi
done
echo done