Skip to content
Snippets Groups Projects
Commit 22c69aaa authored by Jean-Noël Avila's avatar Jean-Noël Avila
Browse files

lower priorities of almost plumbing commands

parent 943a89d7
No related branches found
No related tags found
No related merge requests found
......@@ -33,11 +33,36 @@ SECTIONS = {300: ["en/git-init.txt",
"en/git-pull.txt",
"en/git-push.txt",
"en/git-remote.txt",
"en/git-submodule.txt"]
"en/git-submodule.txt"],
90: ["en/git-cvsexportcommit.txt",
"en/git-cvsimport.txt",
"en/git-cvsserver.txt",
"en/git-unpack-file.txt",
"en/git-unpack-objects.txt",
"en/git-fetch-pack.txt",
"en/git-filter-branch.txt",
"en/git-update-server-info.txt"
"en/git-sh-i18n.txt",
"en/git-sh-i18n--envsubst.txt",
"en/git-send-pack.txt",
"en/git-remote-ext.txt",
"en/git-remote-fd.txt",
"en/git-receive-pack.txt",
"en/git-send-pack.txt",
"en/git-p4.txt",
"en/git-write-tree.txt",
"en/git-symbolic-ref.txt"
"en/git-merge-base.txt",
"en/git-merge-file.txt",
"en/git-merge-index.txt",
"en/git-credential-cache--deamon.txt",
"en/git-credential-cache.txt"
]
}
INCLUDE_REGEX = re.compile('''include::(.*)\\[\\]\n''')
def process_file(filename, priority, priorities):
basedirname = dirname(filename)
try:
......@@ -51,6 +76,7 @@ def process_file(filename, priority, priorities):
except Exception:
print("could not find " + filename)
def main(f_list):
priorities = dict((source, section) for section in SECTIONS for source in SECTIONS[section])
items = list(priorities.items())
......
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