File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,6 @@ function progress_bar_update (){
5454 fi
5555}
5656
57- if [[ $( git rev-parse --is-bare-repository) == true ]]; then
58- echo " repo_type=bare ( bare / normal )" echo
59- pack_dir=" ./objects"
60- git_dir=" ."
61- else
62- echo " repo_type=normal ( bare / normal )"
63- git_dir=" .git"
64- pack_dir=" .git/objects"
65- fi
66- echo
67- export pack_dir
6857
6958if [[ ${debug:- } == true ]]; then
7059 command -v find
@@ -80,6 +69,19 @@ if [[ "${1:-}" != "" ]]; then
8069 test -e ${1} && cd ${1}
8170fi
8271echo
72+
73+ if [[ $( git rev-parse --is-bare-repository) == true ]]; then
74+ echo " repo_type=bare ( bare / normal )" echo
75+ pack_dir=" ./objects"
76+ git_dir=" ."
77+ else
78+ echo " repo_type=normal ( bare / normal )"
79+ git_dir=" .git"
80+ pack_dir=" .git/objects"
81+ fi
82+ echo
83+ export pack_dir
84+
8385echo " Analyzing git in: $( pwd) "
8486echo " Saving outfiles in: ${WORKSPACE} "
8587echo
You can’t perform that action at this time.
0 commit comments