git branch --set-upstream regression in master

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

 



This used to be possible on the checked out branch:

  $ git branch master --set-upstream origin/master

Now it gives "fatal: Cannot force update the current branch." which is
broken. You should be able to setup/change the tracking information on
the checked out branch.

It's apparently due to ci/forbid-unwanted-current-branch-update.

Sorry I don't have time to contribute a patch at the moment.

(BTW, --set-upstream still needs to be fixed so that these mean the same thing:

  $ git branch master --set-upstream origin/master
  $ git branch --set-upstream origin/master master

and to just allow:

  $ git branch --set-upstream origin/master

w/o having to specify the checked-out branch.)

j.
--
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]