Re: [RFC/PATCH] Make git-{pull,rebase} no-tracking message friendlier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Carlos Martín Nieto <cmn@xxxxxxxx> writes:

> -		echo "You asked me to $cmd without telling me which branch you
> -want to $op_type $op_prep, and 'branch.${branch_name#refs/heads/}.merge' in
> -your configuration file does not tell me, either. Please
> -specify which branch you want to use on the command line and
> +		echo "You asked me to $cmd without telling me which branch you want to
> +$op_type $op_prep, and there is no tracking information for the current branch.
> +Please specify which branch you want to use on the command line and
>  try again (e.g. '$example').

At this point, it may be better to actually give the full command
instead of just this "(e.g. '$example')", i.e. stg like

  git $op_type <remote> $example

I also saw users confused by the message (indeed without reading it,
but ...). Giving them something as close as possible to
cut-and-paste-able command should help.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]