Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
91dac800
Commit
91dac800
authored
Feb 28, 2017
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compare_size.sh: fix when last commit is a merge
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
0066b66f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
compare_size.sh
compare_size.sh
+3
-1
No files found.
compare_size.sh
View file @
91dac800
...
...
@@ -119,7 +119,9 @@ echo $git_current_commit
# print info abous previous commits
# pick ! as the separator
# tformat to get the newline after the last entry
git log
--format
=
tformat:
"!%H!%s"
origin/master~1...HEAD~1
--graph
|
while
IFS
=
"!"
read
-r
git_graph git_hash git_title
git log
--format
=
tformat:
"!%H!%s"
origin/master~1...HEAD
--graph
\
|
tail
-n
+2
\
|
while
IFS
=
"!"
read
-r
git_graph git_hash git_title
do
for
i
in
"
${
!curr_size_array[@]
}
"
do
...
...
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