| Index: recipe_modules/git/example.expected/remote_not_origin.json
 | 
| diff --git a/recipe_modules/git/example.expected/remote_not_origin.json b/recipe_modules/git/example.expected/remote_not_origin.json
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..f40cb9d64ecb4bc6f490270546db31278d225955
 | 
| --- /dev/null
 | 
| +++ b/recipe_modules/git/example.expected/remote_not_origin.json
 | 
| @@ -0,0 +1,167 @@
 | 
| +[
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "python",
 | 
| +      "-u",
 | 
| +      "RECIPE_MODULE[git]/resources/git_setup.py",
 | 
| +      "--path",
 | 
| +      "[SLAVE_BUILD]/src",
 | 
| +      "--url",
 | 
| +      "https://chromium.googlesource.com/chromium/src.git",
 | 
| +      "--remote",
 | 
| +      "not_origin"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]",
 | 
| +    "name": "git setup"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "retry",
 | 
| +      "fetch",
 | 
| +      "not_origin",
 | 
| +      "master",
 | 
| +      "--recurse-submodules"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git fetch"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "checkout",
 | 
| +      "-f",
 | 
| +      "FETCH_HEAD"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git checkout"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "clean",
 | 
| +      "-f",
 | 
| +      "-d",
 | 
| +      "-x"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git clean"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "submodule",
 | 
| +      "sync"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "submodule sync"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "submodule",
 | 
| +      "update",
 | 
| +      "--init",
 | 
| +      "--recursive"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "submodule update"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "-c",
 | 
| +      "foo=bar",
 | 
| +      "count-objects",
 | 
| +      "-v"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "count-objects",
 | 
| +    "stdout": "/path/to/tmp/"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "config",
 | 
| +      "--get",
 | 
| +      "remote.origin.url"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git config remote.origin.url",
 | 
| +    "stdout": "/path/to/tmp/",
 | 
| +    "~followup_annotations": [
 | 
| +      "@@@STEP_TEXT@foo@@@"
 | 
| +    ]
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "show",
 | 
| +      "HEAD",
 | 
| +      "--format=%at",
 | 
| +      "-s"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git show",
 | 
| +    "stdout": "/path/to/tmp/"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "fetch",
 | 
| +      "not_origin",
 | 
| +      "--tags"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git fetch tags"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "status"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git status"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "status"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git status can_fail_build"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "status"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git status cannot_fail_build"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "rebase",
 | 
| +      "not_origin/master"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "my repo rebase"
 | 
| +  },
 | 
| +  {
 | 
| +    "cmd": [
 | 
| +      "git",
 | 
| +      "bundle",
 | 
| +      "create",
 | 
| +      "[SLAVE_BUILD]/all.bundle",
 | 
| +      "--all"
 | 
| +    ],
 | 
| +    "cwd": "[SLAVE_BUILD]/src",
 | 
| +    "name": "git bundle"
 | 
| +  },
 | 
| +  {
 | 
| +    "name": "$result",
 | 
| +    "recipe_result": null,
 | 
| +    "status_code": 0
 | 
| +  }
 | 
| +]
 | 
| 
 |