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

IJHack / QtPass / 46054932082
95%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2026 07:23PM UTC
Jobs 1
Files 87
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

27 Nov 2026 07:11PM UTC coverage: 94.7% (-0.006%) from 94.706%
46054932082

push

github

web-flow
pass backend: refuse copying a folder that holds a link (#2371)

pass copies a folder with `cp -r`. GNU cp copies a symbolic link inside
it as a link, but BSD and macOS cp follow it with -r, so what a link
pushed into a shared store points to (a key in the user's home) was
copied into the store, staged and committed, and the next push shared
it. The 3KTRAFFH checks look at where the copy lands, not inside it.

RealPass::refuseLinkInCopiedFolder() walks the folder, hidden folders
included and links not followed, and refuses the copy on a link or
junction anywhere in it, or on a folder holding a name Qt cannot read
(what is behind it is unknown). Refused on every platform, so the result
does not depend on which cp pass finds. A move is a rename and is left
alone.

A realpass test copies a folder with a link, and one with a link in a
hidden subfolder, and checks both are refused before pass runs while a
move of the first still goes to pass; it fails without the change.

Raised in the review of #2360.

Signed-off-by: Anne Jan Brouwer <brouwer@annejan.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

24 of 26 new or added lines in 1 file covered. (92.31%)

10328 of 10906 relevant lines covered (94.7%)

25574.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
74.48
0.72% src/realpass.cpp
Jobs
ID Job ID Ran Files Coverage
1 46054932082.1 27 Nov 2026 07:23PM UTC 87
94.7
GitHub Action Run
Source Files on build 46054932082
  • Tree
  • List 87
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46054932082
  • da5baaab on github
  • Prev Build on main (#46052359052)
  • Next Build on main (#46060387640)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc