summaryrefslogtreecommitdiff
path: root/Utility
Commit message (Collapse)AuthorAge
* merge from git-annexJoey Hess2023-08-14
| | | | Support building with unix-compat 0.7
* merge from git-annexJoey Hess2022-05-04
|
* merge from git-annexJoey Hess2021-06-29
| | | | | Fixes 2 bugs, one a data loss bug. It is possible to get those fixes without merging all the other changes, if a backport is wanted.
* Merge from git-annex.Joey Hess2021-01-11
|
* merge from git-annexJoey Hess2020-05-04
| | | | | * Improve fetching from a remote with an url in host:path format. * Merge from git-annex.
* merge from git-annex and relicense accordinglyJoey Hess2020-01-02
| | | | | | | | | | | Merge git library and utility from git-annex. The former is now relicensed AGPL, so git-repair as a whole becomes AGPL. For simplicity, I am relicensing the remainder of the code in git-repair AGPL as well, per the header changes in this commit. While that code is also technically available under the GPL license, as it's been released under that license before, changes going forward will be only released by me under the AGPL.
* Merge from git-annex.Joey Hess2017-12-14
|
* merge from git-annexJoey Hess2017-06-26
| | | | | | Removes dependency on MissingH, adding a dependency on split instead. This commit was sponsored by Brock Spratlen on Patreon.
* Merge from git-annex.Joey Hess2016-12-24
|
* merge from git-annexJoey Hess2016-11-11
|
* merge from git-annexJoey Hess2016-05-24
|
* merge from git-annexJoey Hess2015-12-15
|
* improve temp dir securityJoey Hess2015-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | http://bugs.debian.org/807341 * Fix insecure temporary permissions. Repair clones the git repository to a temp directory which is made using the user's umask. Thus, it might expose a git repo that is otherwise locked down. * Fix potential denial of service attack when creating temp dirs. Since withTmpDir used easily predictable temporary directory names, an attacker could create foo.0, foo.1, etc and as long as it managed to keep ahead of it, could prevent it from ever returning. I'd rate this as a low utility DOS attack. Most attackers in a position to do this could just fill up the disk /tmp is on to prevent anything from writing temp files. And few parts of git-annex use withTmpDir anyway, so DOS potential is quite low. Examined all callers of withTmpDir and satisfied myself that switching to mkdtmp and so getting a mode 700 temp dir wouldn't break any of them.
* Merge from git-annex.Joey Hess2015-04-29
|
* Merge from git-annex.Joey Hess2015-01-06
|
* Fix build with process 1.2.1.0.Joey Hess2015-01-04
|
* merge from git-annexJoey Hess2014-11-10
|
* setenv for windowsdebian/1.201410261.20141026Joey Hess2014-10-26
|
* Merge from git-annex.Joey Hess2014-10-12
| | | | Includes changing to new exceptions library, and some whitespace fixes.
* Merge from git-annex.Joey Hess2014-07-21
|
* merge from git-annexJoey Hess2014-04-23
|
* merge from git-annexJoey Hess2014-02-24
|
* merge from git-annexJoey Hess2014-01-13
|
* sync from git-annexJoey Hess2013-12-10
|
* sync with git-annexJoey Hess2013-12-01
|
* merge from git-annexJoey Hess2013-12-01
| | | | | | Note that the batchCommand stuff is not used in git-repair, so configure does not need to check for nice, ionice, and nocache, nor are they dependend on.
* urgleJoey Hess2013-11-21
|
* clean upJoey Hess2013-11-21
|
* addJoey Hess2013-11-21
|
* fix cat-file stall bugJoey Hess2013-11-20
| | | | | | | Apparently some corruption to an object can cause cat-file to say it's N bytes long, but only output N-M bytes of data. This causes Git.CatFile to stall waiting for the rest. To fix, add a 1 minute timeout to the cat-file, which should be enough time to read any reasonable object.
* urgleJoey Hess2013-11-20
|
* try to recover even if git fsck cannot be coaxed to tell us any bad objectsJoey Hess2013-11-20
| | | | | | | Sometimes git fsck outputs no shas even with --verbose, but fails, due to badly corrupt objects. The best thing to do in this situation is to try to pull and rsync from remotes, hoping that the bad objects will be overwritten.
* oopsJoey Hess2013-11-20
|
* merge from git-annexJoey Hess2013-11-20
|
* Write a dummy .git/HEAD if the file is missing, as git otherwise will not ↵Joey Hess2013-11-20
| | | | treat the repository as a git repo.
* whoopsJoey Hess2013-11-19
|
* retryingJoey Hess2013-11-19
|
* initial work on git repository destroyerJoey Hess2013-11-19
| | | | | I suspect this might sometimes corrupt the **source** repo, so use with caution!
* copied from git-annexJoey Hess2013-11-18