git-svn: don't escape tilde ('~') for http(s) URLs
[gitweb.git] / builtin-checkout.c
index ad04a184a28b7cdbb5278cda9c467a2e37b0add8..57b94d282931187a0cb6394d4df707237038a7eb 100644 (file)
@@ -635,9 +635,6 @@ int cmd_checkout(int argc, const char **argv, const char *prefix)
                git_xmerge_config("merge.conflictstyle", conflict_style, NULL);
        }
 
-       if (!opts.new_branch && (opts.track != git_branch_track))
-               die("git checkout: --track and --no-track require -b");
-
        if (opts.force && opts.merge)
                die("git checkout: -f and -m are incompatible");