summaryrefslogtreecommitdiffstats
path: root/shell/smsummary.sh
diff options
context:
space:
mode:
authorRich Bennett <rb2745@att.com>2018-11-14 10:55:34 -0500
committerRich Bennett <rb2745@att.com>2018-11-14 11:25:11 -0500
commita83d4cdbd5b624f6fcf53513c0af114167643570 (patch)
treed050f42fe23187ff709a0453a0354e0011800a28 /shell/smsummary.sh
parent02ad24764a90668f78cc5fbf59f92b7e03e097dc (diff)
Update casablanca branch references
Update submodule references Update references for casablanca branches Improve format of submodule manifest generated in verify log Add default gitreview branch Issue-ID: DOC-335 Change-Id: I03ce60277f6cc8ee412254cbd22d45b22749916f Signed-off-by: Rich Bennett <rb2745@att.com>
Diffstat (limited to 'shell/smsummary.sh')
-rw-r--r--shell/smsummary.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/shell/smsummary.sh b/shell/smsummary.sh
index 0b971f8af..2b1b776d1 100644
--- a/shell/smsummary.sh
+++ b/shell/smsummary.sh
@@ -17,11 +17,5 @@
# Usage: sh smsummary.sh output_file
#
-echo "************************************************************************************" > $1
-echo "* Submodule branches used to build this version of the documentation. *" >> $1
-echo "************************************************************************************" >> $1
-
-git submodule foreach git for-each-ref \
- --format='%(committerdate:iso8601) %(objectname) %(HEAD) %(refname) %(subject)' \
- --sort -committerdate refs/heads/ | \
- sed -e 's:^: :' -e 's: Entering .docs/submodules/::' -e 's:.git.$::' -e 's:refs/heads/::' >> $1
+cd docs/submodules
+git submodule status | sed -e 's:^ ::' -e 's: :,:' -e 's: :,:' -e 's:[()]::g' -e 's:\.git::' > $1