{"thread":{"id":"35973","subject":"[PATCH] Change branch.c:install_branch_config()","startedAt":"2014-02-27T12:27:41Z","lastAt":"2014-02-27T12:27:41Z","messageCount":1,"participants":["Sun He"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"235466","messageId":"1393504061-30008-1-git-send-email-sunheehnus@gmail.com","threadId":"35973","inReplyTo":null,"subject":"[PATCH] Change branch.c:install_branch_config()","fromName":"Sun He","fromEmail":"sunheehnus@gmail.com","sentAt":"2014-02-27T12:27:41Z","receivedAt":"2014-02-27T12:27:41Z","isPatch":true,"sender":{"key":"sunheehnus@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2889804?v=4"},"body":"\nSigned-off-by: Sun He <sunheehnus@gmail.com>\n---\n branch.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/branch.c b/branch.c\nindex 723a36b..2fe9c05 100644\n--- a/branch.c\n+++ b/branch.c\n@@ -50,7 +50,7 @@ static int should_setup_rebase(const char *origin)\n void install_branch_config(int flag, const char *local, const char *origin, const char *remote)\n {\n \tconst char *shortname = remote + 11;\n-\tint remote_is_branch = starts_with(remote, \"refs/heads/\");\n+\tint remote_is_branch = skip_prefix(remote,\"refs/heads\")!=NULL;\n \tstruct strbuf key = STRBUF_INIT;\n \tint rebasing = should_setup_rebase(origin);\n \n-- \n1.7.1\n"}]}