Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
834adf07
Commit
834adf07
authored
Jul 11, 2018
by
Ned Batchelder
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add git status to this diagnostic helper
parent
d2417b6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
playbooks/roles/edx_ansible/templates/show-repo-heads.j2
+3
-0
No files found.
playbooks/roles/edx_ansible/templates/show-repo-heads.j2
View file @
834adf07
...
...
@@ -2,10 +2,13 @@
#
# Display the head commit for all our git repos
echo
"With status..."
# Look in .git directories. Only two levels down to avoid virtualenvs.
for
d
in
{{
COMMON_APP_DIR
}}
/
*
/
*
/.git
;
do
d
=
$(
dirname
$d
)
echo
"----
$d
----"
git
-C
$d
log
-1
--format
=
'%ci (%h) %cn: %s %d'
git
-C
$d
status
--short
done
XuYS
@xys
mentioned in commit
d6a17a27
Jul 27, 2018
mentioned in commit
d6a17a27
mentioned in commit d6a17a27893d345367187eecff6fdb13e3350774
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment