• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ctmarinas / stgit / 77 / 4
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2019 02:21AM UTC
Files 79
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Oct 2019 03:24AM UTC coverage: 86.732%. Remained the same
MAKE_TARGET=coverage-test

push

travis-ci

jpgrayson
Stat instead of full diff in per-patch metadata

The per-patch metadata stored in the stack log branch (e.g. patches/p0 in
the master.stgit branch) is only consumed by humans. As such, inserting the
full diff of the patch into the metadata file is not required for stgit to
function.

In #44, attempting to refresh a very large patch affecting many files
caused an apparent hang. Serializing a very large diff can consume an
overwhelming amount of CPU an memory resources. It also puts a large
magnitude of data in the stack log branch (and thus in the repo), which can
be considered wasteful.

Instead of the full diff, only the diff stat is inlined in the per-patch
metadata. With this change, `stg refresh` has been measured to be an order
of magnitude faster for very large patches.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>

2623 of 3172 branches covered (82.69%)

Branch coverage included in aggregate %.

6542 of 7395 relevant lines covered (88.47%)

0.88 hits per line

Source Files on job 77.4 (MAKE_TARGET=coverage-test)
  • Tree
  • List 0
  • Changed 24
  • Source Changed 2
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 66
  • Travis Job 77.4
  • f2930592 on github
  • Prev Job for MAKE_TARGET=coverage-test on master (#76.4)
  • Next Job for MAKE_TARGET=coverage-test on master (#78.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc