Revision eca143b72194836b758522f182d4f9b24b9c5967 authored by Junio C Hamano on 15 July 2015, 18:41:20 UTC, committed by Junio C Hamano on 15 July 2015, 18:41:20 UTC
"git fetch --depth=<depth>" and "git clone --depth=<depth>" issued
a shallow transfer request even to an upload-pack that does not
support the capability.

* me/fetch-into-shallow-safety:
  fetch-pack: check for shallow if depth given
2 parent s 697f67a + eb86a50
Raw File
levenshtein.h
#ifndef LEVENSHTEIN_H
#define LEVENSHTEIN_H

int levenshtein(const char *string1, const char *string2,
	int swap_penalty, int substitution_penalty,
	int insertion_penalty, int deletion_penalty);

#endif
back to top