Merge branch 'mp/rebase-label-length-limit' into next

Chomp overly long label names used in the sequencer machinery.

* mp/rebase-label-length-limit:
  rebase: allow overriding the maximal length of the generated labels
  sequencer: truncate labels to accommodate loose refs
This commit is contained in:
Junio C Hamano
2023-08-13 17:50:31 -07:00
4 changed files with 62 additions and 6 deletions

View File

@ -422,6 +422,10 @@ char *gitdirname(char *);
#define PATH_MAX 4096
#endif
#ifndef NAME_MAX
#define NAME_MAX 255
#endif
typedef uintmax_t timestamp_t;
#define PRItime PRIuMAX
#define parse_timestamp strtoumax