Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 0ba602db authored by gsell's avatar gsell
Browse files

Merge branch '137-sort-modules-numerically-in-sub-command-avail' into 'master'

Resolve "sort modules numerically in sub-command avail"

Closes #137

See merge request !107
parents f7f58947 3d326a52
No related branches found
No related tags found
1 merge request!107Resolve "sort modules numerically in sub-command avail"
......@@ -972,6 +972,8 @@ subcommand_avail() {
(( n > max_length )) && (( max_length=n ))
available_modules+=("${mod}")
done
IFS=$'\n' available_modules=($(sort --version-sort <<<"${available_modules[*]}"))
unset IFS
local -i span=$(( max_length / 16 + 1 )) # compute column size
local -i colsize=$(( span * 16 )) # as multiple of 16
local -i column=$cols # force a line-break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment