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

How can i set create_patch=true, and meanwhile get change_type in Diff · Issue #1897 · gitpython-developers/GitPython

Repository navigation

How can i set create_patch=true, and meanwhile get change_type in Diff  #1897


New issue

New issue

Closed

Closed
How can i set create_patch=true, and meanwhile get change_type in Diff #1897

Description

@SongXueZhi's profile SongXueZhi opened on Apr 2, 2024

I find that when i use commit1.diff(commit2,create_patch = true), chang_type of Diff is aways none. if create_patch = False, i kown that i can get chang_type of Diff , but I can get hunk text.

Can i get Diff text ,and meanWhile get chang_type of Diff?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions