Skip to content
Snippets Groups Projects
Select Git revision
  • dda08052682141e63f5860294a0831eff7ec39e8
  • passt default
  • master
  • pu
  • todo
  • next
  • maint
  • v2.8.0-rc1
  • v2.8.0-rc0
  • v2.7.2
  • v2.7.1
  • v2.7.0
  • v2.6.5
  • v2.7.0-rc3
  • v2.7.0-rc2
  • v2.7.0-rc1
  • v2.7.0-rc0
  • v2.6.4
  • v2.6.3
  • v2.6.2
  • v2.6.1
  • v2.3.10
  • v2.5.4
  • v2.4.10
  • v2.6.0
  • v2.6.0-rc3
  • v2.5.3
27 results

branch.h

Blame
  • user avatar
    Patrick Steinhardt authored and Junio C Hamano committed
    When setting up a new tracking branch fails due to issues with
    the configuration file we do not report any errors to the user
    and pretend setting the tracking branch succeeded.
    
    Setting up the tracking branch is handled by the
    `install_branch_config` function. We do not want to simply die
    there as the function is not only invoked when explicitly setting
    upstream information with `git branch --set-upstream-to=`, but
    also by `git push --set-upstream` and `git clone`. While it is
    reasonable to die in the explict first case, we would lose
    information in the latter two cases, so we only print the error
    message but continue the program as usual.
    
    Signed-off-by: default avatarPatrick Steinhardt <ps@pks.im>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    27852b2c
    History
    branch.h 2.18 KiB