← Winnitude! Search  ·  Reader Mode (748 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 10 LINKS

set_tracking_branch fails quietly when .git/config contains an include · Issue #1614 · gitpython-developers/GitPython

Repository navigation

set_tracking_branch fails quietly when .git/config contains an include  #1614


New issue

New issue

Closed
#1618
Closed
set_tracking_branch fails quietly when .git/config contains an include #1614 #1618 Labels
acknowledged

Description

@bodograumann's profile bodograumann opened on Jul 14, 2023

I have git-branchless setup in this repository and for the longest time I was confounded, why set_tracking_branch did not work (anymore).
Turns out, git-branchless adds an [include] section to the .git/config file and this causes GitPython to quietly skip writing the config changes back that are necessary for set_tracking_branch to have any effect.

Could we maybe set merge_includes=False for the config_writer; at least in the Head class?

Metadata

Metadata

Assignees

No one assigned

    Labels


    acknowledged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions