mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
patch-id: use stable patch-id for rebases
Git doesn't persist patch-ids during the rebase process, so there is no need to specifically invoke the unstable variant. Use the stable logic for all internal patch-id calculations to minimize the number of code paths and improve test coverage. Signed-off-by: Jerry Zhang <jerry@skydio.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
0570be79ea
commit
51276c1832
@@ -20,7 +20,7 @@ struct patch_ids {
|
||||
};
|
||||
|
||||
int commit_patch_id(struct commit *commit, struct diff_options *options,
|
||||
struct object_id *oid, int, int);
|
||||
struct object_id *oid, int);
|
||||
int init_patch_ids(struct repository *, struct patch_ids *);
|
||||
int free_patch_ids(struct patch_ids *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user