From: Jiang Xin Date: Thu, 08 Aug 2013 14:49:20 GMT Subject: [PATCH v3] status: always show tracking branch even no change Message-ID: In-Reply-To: <1481cfff6c22568f2a73613668cee0b99ceb4629.1375940354.git.worldhello.net@gmail.com> Changes since v2: * The return value of function stat_tracking_info() is changed. When the current branch and its remote tracking branch point to the same commit, will return 1, instead of 0. Because we want to report the tracking info for such case. * Remove duplicated codes in builtin/branch.c, and make it simpler. Jiang Xin (1): status: always show tracking branch even no change builtin/branch.c | 18 +++++----------- remote.c | 18 +++++++++++----- t/t6040-tracking-info.sh | 54 ++++++++++++++++++++++++++++++++++++++++++++---- wt-status.c | 5 +++++ 4 files changed, 73 insertions(+), 22 deletions(-) -- 1.8.4.rc1.430.g417e2f3