File: day_580__import_from_android.mdwn

package info (click to toggle)
git-annex 10.20250416-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 73,572 kB
  • sloc: haskell: 90,656; javascript: 9,103; sh: 1,469; makefile: 211; perl: 137; ansic: 44
file content (11 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
It was not very hard to get `git annex import` working with adb special
remotes. This is a nice alternative to installing git-annex on an Android
device for syncing with it. See [[tips/android_sync_with_adb]].

I'm still thinking about supporting import from special remotes that can't
avoid most race conditions. But for adb, the only race conditions that
I couldn't avoid are reasonably narrow, nearly as narrow as `git
checkout`'s own race conditions, with only the added overhead of
adb. So I let them slide.

Today's work was sponsored by Trenton Cronholm on Patreon.