Skip to main content
Sign in
Snippets Groups Projects
Select Git revision
  • 833e48259e23aea76f3765d28d1b2200332301f7
  • 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
    David Turner authored and Junio C Hamano committed
    Add a new function, find_shared_symref, which contains the heart of
    die_if_checked_out, but works for any symref, not just HEAD.  Refactor
    die_if_checked_out to use the same infrastructure as
    find_shared_symref.
    
    Soon, we will use find_shared_symref to protect notes merges in
    worktrees.
    
    Signed-off-by: default avatarDavid Turner <dturner@twopensource.com>
    Reviewed-by: default avatarJohan Herland <johan@herland.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    41af6565
    History
    branch.h 2.49 KiB