File: day_576__import_tree_working.mdwn

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (23 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Yesterday I implemented the command-line interface for
`git annex import branch --from remote` and today I got a prototype of it
it working with the directory special remote. Still a whole lot to do
before this feature is ready for release, but it's good to have the command
line interface working to play with it. The workflow feels pretty good:

	joey@darkstar:~/tmp/t> echo hello > ../dir/new_file
	joey@darkstar:~/tmp/t> git annex import master --from dir
	import dir ok
	update refs/remotes/dir/master ok
	(recording state in git...)
	joey@darkstar:~/tmp/t> git merge dir/master
	Updating d3277e2..410aa8e
	Fast-forward
	 new_file | 1 +
	 1 file changed, 1 insertion(+)
	 create mode 120000 new_file
	joey@darkstar:~/tmp/t> cat new_file
	hello

My laptop's keyboard is dying; the S and X keys often don't register. Is 
making programming feel very clumsy, and there are far too many S's in
the code I've been working on. ;-)