On Wed, Jul 09, 2014 at 02:33:11PM +0700, Nguyễn Thái Ngọc Duy wrote:
> +static int check_linked_checkout(struct branch_info *new,
> +                               const char *name, const char *path)
> +{
...
> +     if (!strncmp(start, new->path, end - start) &&
> +         new->path[end - start] == '\0') {

This also detaches if the "holding checkout" is _this_
checkout, that is, when you are checking out the currently
checked our branch.

-- 
Max
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to