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

ctmarinas / stgit / 77
90%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2019 02:19AM UTC
Jobs 2
Files 79
Run time 1min
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

pending completion
77

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>

2104 of 2662 branches covered (79.04%)

Branch coverage included in aggregate %.

6435 of 7320 relevant lines covered (87.91%)

1.76 hits per line

Jobs
ID Job ID Ran Files Coverage
3 77.3 (MAKE_TARGET=coverage-test) 28 Oct 2019 02:19AM UTC 0
85.75
Travis Job 77.3
4 77.4 (MAKE_TARGET=coverage-test) 28 Oct 2019 02:21AM UTC 0
86.73
Travis Job 77.4
Source Files on build 77
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #77
  • f2930592 on github
  • Prev Build on master (#76)
  • Next Build on master (#78)
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