Joey Hess
3991c8e43d
comment
2020-11-19 13:02:23 -04:00
Joey Hess
7755c5705d
comment
2020-11-19 13:02:17 -04:00
Joey Hess
b3c88da181
fix windows assistant upgrade glitch
...
Prevent windows assistant from trying (and failing) to upgrade itself,
which has never been supported on windows.
The new windows build is made with UPGRADE_LOCATION set, which enabled this
code path that had never run on windows before, and doesn't work. I don't
want to try to support self-upgrade on windows, or generally on other OS's
than the ones where its working, so added a check for that. This way the
build can keep setting UPGRADE_LOCATION and if some later git-annex does
learn how to upgrade itself on some OS, it won't need changing the build
setup.
2020-11-19 12:50:25 -04:00
Joey Hess
4b739fc460
Fix build on Windows
...
Thanks to bug reporter for the patch.
2020-11-19 12:33:00 -04:00
Joey Hess
9cb250f7be
fix removeLink on windows
...
This removeLink was introduced in commit
e505c03bcc
, which replaced code
that used removeFile on Windows. So, I know git-annex did not used to do
anything other than removeFile on Windows. If there were symlinks it
wanted to remove, this would not work on windows, but of course it does
not use symlinks on windows.
2020-11-19 12:20:18 -04:00
Joey Hess
c3be0c8dd2
close
2020-11-19 12:08:06 -04:00
kyle
4c46e92ca3
Added a comment
2020-11-19 15:35:00 +00:00
git-annex@77d290f42943061acb99794c304fc6a6d5f601db
d321002182
2020-11-19 14:11:57 +00:00
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb
994a3b04d1
added version info as reported by git-annex version
2020-11-19 05:12:06 +00:00
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb
977ab328aa
2020-11-19 05:00:25 +00:00
wting
87c135c259
Added a comment
2020-11-19 03:12:37 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
db624d8a1e
Added a comment
2020-11-18 19:28:51 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
c2dc234e0d
removed
2020-11-18 19:26:33 +00:00
Joey Hess
64ed58c17e
Merge branch 'master' of ssh://git-annex.branchable.com
2020-11-18 15:17:58 -04:00
Joey Hess
d8b7f6721f
Merge branch 'ssh-hates-me'
2020-11-18 15:17:05 -04:00
Joey Hess
043eee0cb5
update
2020-11-18 15:16:49 -04:00
Joey Hess
682829c200
avoid throwing exception when the handle is closed
...
The handle could get closed eg, by cleanupProcess being called,
which forces the process to exit and closes all its handles.
At this point, the test case in https://git-annex.branchable.com/bugs/Buggy_external_special_remote_stalls_after_7245a9e/
is fixed.
2020-11-18 15:10:35 -04:00
Joey Hess
b021e2322f
avoid crash on EOF at end
2020-11-18 15:03:30 -04:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
612dfa9580
removed
2020-11-18 18:59:49 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
13026257be
Added a comment: how to convert existing repo to new backend?
2020-11-18 18:54:31 +00:00
Joey Hess
e6d741af79
finish conversion to hGetLineUntilExitOrEOF
...
started in aafae46bcb
2020-11-18 14:54:02 -04:00
Joey Hess
7ec22489da
remove bench test
2020-11-18 14:49:56 -04:00
Joey Hess
b483be8548
newline mode (mis)handling for windows
...
Unfortunately, there is no hGetNewLineMode. This seems like an oversight
that should be fixed in ghc, but for now, I paper over it with a windows
hack.
2020-11-18 14:48:50 -04:00
Joey Hess
787b39c7c1
working hGetLineUntilExitOrEOF
...
The problem with the old version seemed to be that hWaitForInput blocks
rather than timing out when being run concurrently with hGetLine on the
same handle.
This passes the bench test, and also works when run concurrently on
different handles.
2020-11-18 14:21:47 -04:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
3aaae3097b
removed
2020-11-18 17:59:54 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
55aa45794a
2020-11-18 17:54:49 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
a6e7890f1d
2020-11-18 17:52:22 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
f0c19c4c95
2020-11-18 17:51:31 +00:00
Joey Hess
9c448c877b
Merge branch 'master' of ssh://git-annex.branchable.com
2020-11-18 12:53:41 -04:00
Joey Hess
24f7d0af3d
followup
2020-11-18 12:52:14 -04:00
Joey Hess
9af0000e0f
bench test for hGetLineUntilExitOrEOF
...
This seems to show that hWaitForInput does not seem to behave as
documented. It does not time out, so blocks forever in this situation.
This is with a 0 timeout and with larger timeouts. Unsure why, it looked
like it should work.
2020-11-18 12:23:15 -04:00
kyle
774a02909d
Added a comment
2020-11-18 15:30:07 +00:00
https://ro-che.info/
b3ac1653b2
2020-11-18 13:46:25 +00:00
alex@3cb1cc0c80ffb2137f36155c5caa581605c3767b
a7254774b3
2020-11-18 12:09:08 +00:00
alex@3cb1cc0c80ffb2137f36155c5caa581605c3767b
5ecf4152c2
2020-11-18 12:08:08 +00:00
gueux
7dc9cf9d69
Added a comment
2020-11-18 10:54:56 +00:00
lucas.gautheron@09f1983993dfb0907d02ba268b3ca672f1dc3eea
0e1fcd94ba
2020-11-18 09:04:56 +00:00
Joey Hess
aafae46bcb
WIP
...
for https://git-annex.branchable.com/bugs/Buggy_external_special_remote_stalls_after_7245a9e/
2020-11-17 17:31:08 -04:00
Joey Hess
3dda21d292
comment
2020-11-17 17:30:43 -04:00
Joey Hess
6b63278f31
init: When writing hook scripts, set all execute bits, not only the user execute bit
2020-11-17 13:31:12 -04:00
Joey Hess
fbbc42a9d4
comment
2020-11-17 13:20:54 -04:00
Joey Hess
77b3f002cd
fix typo closing
2020-11-17 12:00:03 -04:00
Joey Hess
e776efcbec
Merge branch 'master' of ssh://git-annex.branchable.com
2020-11-17 11:59:06 -04:00
Joey Hess
bce8865824
fix build on windows
2020-11-17 11:58:45 -04:00
gueux
f41026f5a9
2020-11-17 11:21:56 +00:00
Joey Hess
1be38362aa
retitle
2020-11-16 15:17:48 -04:00
Joey Hess
9a06a63e3c
Merge branch 'master' of ssh://git-annex.branchable.com
2020-11-16 15:15:07 -04:00
Joey Hess
631c8d3e5b
avoid redundant adjusted branch update in sync
...
sync still does update it if the config would otherwise not, since it
already did.
2020-11-16 15:13:48 -04:00
Joey Hess
805af01562
bug fix
...
really innefficient but it does solve dropping
2020-11-16 14:57:51 -04:00
Joey Hess
557a6e11a6
avoid spurious blank line when updating adjusted branch
...
git checkout run with --quiet should have no output
2020-11-16 14:41:38 -04:00