{"push_id":697301296,"size":3,"distinct_size":1,"ref":"refs/heads/testing","head":"80177beae8acee3df50914e8747a097e64750266","before":"289f53ffeb37a47b849abb784bdfe2aed457a852","commits":[{"sha":"993880ecc966b3ba1c4156e9f7bf8b5aea165401","author":{"email":"f416d94dec2be46db675ab6ad88d377c7a954c0c@gmail.com","name":"Alun Perkins"},"message":"added merge function and rsync wrapper","distinct":false,"url":"https://api.github.com/repos/alunperkins/holdall/commits/993880ecc966b3ba1c4156e9f7bf8b5aea165401"},{"sha":"0e204fc0b5d558048fad74229e308b5fe1d25c59","author":{"email":"f416d94dec2be46db675ab6ad88d377c7a954c0c@gmail.com","name":"Alun Perkins"},"message":"set rsync options for merge, removed rsync wrapper\n\nHad to remove the rsync wrapper - there was a strange issue with quoting.\nIn the main code\nrsync $shortOpts $longOpts \"$longOptsBackup\" [SOURCE] [DEST]\nworked. Note the quotes around \"$longOptsBackup\". They're because\nthe address might contain spaces. I tried to move the code\nfor branching rsync re. copying a file vs. copying a folder\ninto a separate function, since it's now used multiple times.\nBut when passing $unquotedOpts $quotedOpts to it, and then it calling\nrsync $unquotedOpts \"$quotedOpts\" [SOURCE] [DEST]\na blank $quotedOpts (e.g. if not using backups)\nwould cause an error. I couldn't find out how to make it work\nand even if I could it would be too subtle a distinction to allow\nin the code - too hard for a programmer to understand.\nSo I decided it was better to just duplicate the code.","distinct":false,"url":"https://api.github.com/repos/alunperkins/holdall/commits/0e204fc0b5d558048fad74229e308b5fe1d25c59"},{"sha":"80177beae8acee3df50914e8747a097e64750266","author":{"email":"f416d94dec2be46db675ab6ad88d377c7a954c0c@gmail.com","name":"Alun Perkins"},"message":"added extra log echo\n\nhad a hardware issue where my USB device kept disconnecting. Used the log to check everything synced OK. Extra message making the start of the sync attempts would have been nice, so added it for future. (FYI everything did sync OK when finally the hardware behaved).","distinct":true,"url":"https://api.github.com/repos/alunperkins/holdall/commits/80177beae8acee3df50914e8747a097e64750266"}]}