fetch-negotiator.con commit l10n: it.po: update the Italian localization for v2.23.0 round 2 (ad1d0a5)
   1#include "git-compat-util.h"
   2#include "fetch-negotiator.h"
   3#include "negotiator/default.h"
   4#include "negotiator/skipping.h"
   5
   6void fetch_negotiator_init(struct fetch_negotiator *negotiator,
   7                           const char *algorithm)
   8{
   9        if (algorithm) {
  10                if (!strcmp(algorithm, "skipping")) {
  11                        skipping_negotiator_init(negotiator);
  12                        return;
  13                } else if (!strcmp(algorithm, "default")) {
  14                        /* Fall through to default initialization */
  15                } else {
  16                        die("unknown fetch negotiation algorithm '%s'", algorithm);
  17                }
  18        }
  19        default_negotiator_init(negotiator);
  20}