This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
osmith gerrit-no-reply at lists.osmocom.orgosmith has uploaded this change for review. ( https://gerrit.osmocom.org/11674
Change subject: delete obsolete code
......................................................................
delete obsolete code
Change-Id: I9bc8f47d7a41eca6e8b6076b4e95ba949e47fde2
---
M src/gits
1 file changed, 0 insertions(+), 35 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/74/11674/1
diff --git a/src/gits b/src/gits
index d5c646d..2dbb564 100755
--- a/src/gits
+++ b/src/gits
@@ -40,11 +40,6 @@
exit(1)
-def usage(*msgs):
- global doc
- error(doc, '\n\n', *msgs)
-
-
def cmd_to_str(cmd):
return ' '.join(shlex.quote(c) for c in cmd)
@@ -186,36 +181,6 @@
return list(sorted(dirs))
-def cmd_help():
- global commands
- global aliases
-
- if len(sys.argv) > 2:
- error('no arguments allowed')
-
- print('gits finds git clones that are immediate subdirs of the current working dir,\n'
- 'by looking for folders named .git, and runs actions in each clone:\n')
-
- lines = []
-
- for name, cmd in commands.items():
-
- names = [name, ]
-
- for alias_name, alias_for in aliases.items():
- if alias_for == name:
- names.append(alias_name)
-
- line = ['|'.join(sorted(names)), ]
-
- func, doc = cmd
- line.append(doc)
-
- lines.append(line)
-
- print(format_summaries(lines, ': '))
-
-
def print_status():
infos = [git_branch_summary(git_dir) for git_dir in git_dirs()]
print(format_summaries(infos))
--
To view, visit https://gerrit.osmocom.org/11674
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9bc8f47d7a41eca6e8b6076b4e95ba949e47fde2
Gerrit-Change-Number: 11674
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181108/fa3397ef/attachment.htm>