{"action":"opened","number":703,"pull_request":{"url":"https://api.github.com/repos/restic/restic/pulls/703","id":98490098,"html_url":"https://github.com/restic/restic/pull/703","diff_url":"https://github.com/restic/restic/pull/703.diff","patch_url":"https://github.com/restic/restic/pull/703.patch","issue_url":"https://api.github.com/repos/restic/restic/issues/703","number":703,"state":"open","locked":false,"title":"Avoid duplicate backup paths","user":{"login":"sjoerdsimons","id":22603932,"avatar_url":"https://avatars.githubusercontent.com/u/22603932?v=3","gravatar_id":"","url":"https://api.github.com/users/sjoerdsimons","html_url":"https://github.com/sjoerdsimons","followers_url":"https://api.github.com/users/sjoerdsimons/followers","following_url":"https://api.github.com/users/sjoerdsimons/following{/other_user}","gists_url":"https://api.github.com/users/sjoerdsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoerdsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoerdsimons/subscriptions","organizations_url":"https://api.github.com/users/sjoerdsimons/orgs","repos_url":"https://api.github.com/users/sjoerdsimons/repos","events_url":"https://api.github.com/users/sjoerdsimons/events{/privacy}","received_events_url":"https://api.github.com/users/sjoerdsimons/received_events","type":"User","site_admin":false},"body":"Target directories from the from-files argument get added to the command\r\nline args, after which all command line args were appended to the same\r\nvariable again causing duplicates. Split the used variables to avoid\r\nthis.\r\n\r\nSigned-off-by: Sjoerd Simons <sjoerd@luon.net>","created_at":"2016-12-18T22:31:01Z","updated_at":"2016-12-18T22:31:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/restic/restic/pulls/703/commits","review_comments_url":"https://api.github.com/repos/restic/restic/pulls/703/comments","review_comment_url":"https://api.github.com/repos/restic/restic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/restic/restic/issues/703/comments","statuses_url":"https://api.github.com/repos/restic/restic/statuses/e1fc455079f37b27e162d4fcab666da0caa5bc6e","head":{"label":"sjoerdsimons:master","ref":"master","sha":"e1fc455079f37b27e162d4fcab666da0caa5bc6e","user":{"login":"sjoerdsimons","id":22603932,"avatar_url":"https://avatars.githubusercontent.com/u/22603932?v=3","gravatar_id":"","url":"https://api.github.com/users/sjoerdsimons","html_url":"https://github.com/sjoerdsimons","followers_url":"https://api.github.com/users/sjoerdsimons/followers","following_url":"https://api.github.com/users/sjoerdsimons/following{/other_user}","gists_url":"https://api.github.com/users/sjoerdsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoerdsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoerdsimons/subscriptions","organizations_url":"https://api.github.com/users/sjoerdsimons/orgs","repos_url":"https://api.github.com/users/sjoerdsimons/repos","events_url":"https://api.github.com/users/sjoerdsimons/events{/privacy}","received_events_url":"https://api.github.com/users/sjoerdsimons/received_events","type":"User","site_admin":false},"repo":{"id":76810420,"name":"restic","full_name":"sjoerdsimons/restic","owner":{"login":"sjoerdsimons","id":22603932,"avatar_url":"https://avatars.githubusercontent.com/u/22603932?v=3","gravatar_id":"","url":"https://api.github.com/users/sjoerdsimons","html_url":"https://github.com/sjoerdsimons","followers_url":"https://api.github.com/users/sjoerdsimons/followers","following_url":"https://api.github.com/users/sjoerdsimons/following{/other_user}","gists_url":"https://api.github.com/users/sjoerdsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoerdsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoerdsimons/subscriptions","organizations_url":"https://api.github.com/users/sjoerdsimons/orgs","repos_url":"https://api.github.com/users/sjoerdsimons/repos","events_url":"https://api.github.com/users/sjoerdsimons/events{/privacy}","received_events_url":"https://api.github.com/users/sjoerdsimons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sjoerdsimons/restic","description":"restic backup program","fork":true,"url":"https://api.github.com/repos/sjoerdsimons/restic","forks_url":"https://api.github.com/repos/sjoerdsimons/restic/forks","keys_url":"https://api.github.com/repos/sjoerdsimons/restic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjoerdsimons/restic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjoerdsimons/restic/teams","hooks_url":"https://api.github.com/repos/sjoerdsimons/restic/hooks","issue_events_url":"https://api.github.com/repos/sjoerdsimons/restic/issues/events{/number}","events_url":"https://api.github.com/repos/sjoerdsimons/restic/events","assignees_url":"https://api.github.com/repos/sjoerdsimons/restic/assignees{/user}","branches_url":"https://api.github.com/repos/sjoerdsimons/restic/branches{/branch}","tags_url":"https://api.github.com/repos/sjoerdsimons/restic/tags","blobs_url":"https://api.github.com/repos/sjoerdsimons/restic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjoerdsimons/restic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjoerdsimons/restic/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjoerdsimons/restic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjoerdsimons/restic/statuses/{sha}","languages_url":"https://api.github.com/repos/sjoerdsimons/restic/languages","stargazers_url":"https://api.github.com/repos/sjoerdsimons/restic/stargazers","contributors_url":"https://api.github.com/repos/sjoerdsimons/restic/contributors","subscribers_url":"https://api.github.com/repos/sjoerdsimons/restic/subscribers","subscription_url":"https://api.github.com/repos/sjoerdsimons/restic/subscription","commits_url":"https://api.github.com/repos/sjoerdsimons/restic/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjoerdsimons/restic/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjoerdsimons/restic/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjoerdsimons/restic/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjoerdsimons/restic/contents/{+path}","compare_url":"https://api.github.com/repos/sjoerdsimons/restic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjoerdsimons/restic/merges","archive_url":"https://api.github.com/repos/sjoerdsimons/restic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjoerdsimons/restic/downloads","issues_url":"https://api.github.com/repos/sjoerdsimons/restic/issues{/number}","pulls_url":"https://api.github.com/repos/sjoerdsimons/restic/pulls{/number}","milestones_url":"https://api.github.com/repos/sjoerdsimons/restic/milestones{/number}","notifications_url":"https://api.github.com/repos/sjoerdsimons/restic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjoerdsimons/restic/labels{/name}","releases_url":"https://api.github.com/repos/sjoerdsimons/restic/releases{/id}","deployments_url":"https://api.github.com/repos/sjoerdsimons/restic/deployments","created_at":"2016-12-18T22:28:02Z","updated_at":"2016-12-18T22:28:04Z","pushed_at":"2016-12-18T22:29:53Z","git_url":"git://github.com/sjoerdsimons/restic.git","ssh_url":"git@github.com:sjoerdsimons/restic.git","clone_url":"https://github.com/sjoerdsimons/restic.git","svn_url":"https://github.com/sjoerdsimons/restic","homepage":"https://restic.github.io/","size":14619,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"restic:master","ref":"master","sha":"98237bf942d8ebd72d3a874e9477ab156c01712c","user":{"login":"restic","id":10073512,"avatar_url":"https://avatars.githubusercontent.com/u/10073512?v=3","gravatar_id":"","url":"https://api.github.com/users/restic","html_url":"https://github.com/restic","followers_url":"https://api.github.com/users/restic/followers","following_url":"https://api.github.com/users/restic/following{/other_user}","gists_url":"https://api.github.com/users/restic/gists{/gist_id}","starred_url":"https://api.github.com/users/restic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restic/subscriptions","organizations_url":"https://api.github.com/users/restic/orgs","repos_url":"https://api.github.com/users/restic/repos","events_url":"https://api.github.com/users/restic/events{/privacy}","received_events_url":"https://api.github.com/users/restic/received_events","type":"Organization","site_admin":false},"repo":{"id":19205896,"name":"restic","full_name":"restic/restic","owner":{"login":"restic","id":10073512,"avatar_url":"https://avatars.githubusercontent.com/u/10073512?v=3","gravatar_id":"","url":"https://api.github.com/users/restic","html_url":"https://github.com/restic","followers_url":"https://api.github.com/users/restic/followers","following_url":"https://api.github.com/users/restic/following{/other_user}","gists_url":"https://api.github.com/users/restic/gists{/gist_id}","starred_url":"https://api.github.com/users/restic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restic/subscriptions","organizations_url":"https://api.github.com/users/restic/orgs","repos_url":"https://api.github.com/users/restic/repos","events_url":"https://api.github.com/users/restic/events{/privacy}","received_events_url":"https://api.github.com/users/restic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/restic/restic","description":"restic backup program","fork":false,"url":"https://api.github.com/repos/restic/restic","forks_url":"https://api.github.com/repos/restic/restic/forks","keys_url":"https://api.github.com/repos/restic/restic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/restic/restic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/restic/restic/teams","hooks_url":"https://api.github.com/repos/restic/restic/hooks","issue_events_url":"https://api.github.com/repos/restic/restic/issues/events{/number}","events_url":"https://api.github.com/repos/restic/restic/events","assignees_url":"https://api.github.com/repos/restic/restic/assignees{/user}","branches_url":"https://api.github.com/repos/restic/restic/branches{/branch}","tags_url":"https://api.github.com/repos/restic/restic/tags","blobs_url":"https://api.github.com/repos/restic/restic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/restic/restic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/restic/restic/git/refs{/sha}","trees_url":"https://api.github.com/repos/restic/restic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/restic/restic/statuses/{sha}","languages_url":"https://api.github.com/repos/restic/restic/languages","stargazers_url":"https://api.github.com/repos/restic/restic/stargazers","contributors_url":"https://api.github.com/repos/restic/restic/contributors","subscribers_url":"https://api.github.com/repos/restic/restic/subscribers","subscription_url":"https://api.github.com/repos/restic/restic/subscription","commits_url":"https://api.github.com/repos/restic/restic/commits{/sha}","git_commits_url":"https://api.github.com/repos/restic/restic/git/commits{/sha}","comments_url":"https://api.github.com/repos/restic/restic/comments{/number}","issue_comment_url":"https://api.github.com/repos/restic/restic/issues/comments{/number}","contents_url":"https://api.github.com/repos/restic/restic/contents/{+path}","compare_url":"https://api.github.com/repos/restic/restic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/restic/restic/merges","archive_url":"https://api.github.com/repos/restic/restic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/restic/restic/downloads","issues_url":"https://api.github.com/repos/restic/restic/issues{/number}","pulls_url":"https://api.github.com/repos/restic/restic/pulls{/number}","milestones_url":"https://api.github.com/repos/restic/restic/milestones{/number}","notifications_url":"https://api.github.com/repos/restic/restic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/restic/restic/labels{/name}","releases_url":"https://api.github.com/repos/restic/restic/releases{/id}","deployments_url":"https://api.github.com/repos/restic/restic/deployments","created_at":"2014-04-27T14:07:58Z","updated_at":"2016-12-18T07:57:39Z","pushed_at":"2016-12-18T17:53:34Z","git_url":"git://github.com/restic/restic.git","ssh_url":"git@github.com:restic/restic.git","clone_url":"https://github.com/restic/restic.git","svn_url":"https://github.com/restic/restic","homepage":"https://restic.github.io/","size":14619,"stargazers_count":1065,"watchers_count":1065,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":138,"forks":101,"open_issues":138,"watchers":1065,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/restic/restic/pulls/703"},"html":{"href":"https://github.com/restic/restic/pull/703"},"issue":{"href":"https://api.github.com/repos/restic/restic/issues/703"},"comments":{"href":"https://api.github.com/repos/restic/restic/issues/703/comments"},"review_comments":{"href":"https://api.github.com/repos/restic/restic/pulls/703/comments"},"review_comment":{"href":"https://api.github.com/repos/restic/restic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/restic/restic/pulls/703/commits"},"statuses":{"href":"https://api.github.com/repos/restic/restic/statuses/e1fc455079f37b27e162d4fcab666da0caa5bc6e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"sjoerdsimons"}}