Compare commits

..

No commits in common. "2512003334a327bf50b66f6860bd95321d139870" and "c240c275970b1c4b2081c4a0a3f4007c215e30bc" have entirely different histories.

3 changed files with 4 additions and 29 deletions

View file

@ -19,23 +19,12 @@ jobs:
# run: git sparse-checkout disable; git checkout origin/main
- name: status
run: git status
- name: shallow
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: descibe
run: git fetch --shallow-since "1 year" --tags --recurse-submodules=no
- name: status
run: git status
- name: descibe
run: git describe --tags main
run: git describe --tags
- name: show refs
run: find .git/refs
# - name: peepee poopoo

4
file
View file

@ -6,6 +6,4 @@ additional contents
more??
ANOTHER
.
ANOTHER

View file

@ -1,12 +0,0 @@
#!/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