File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1042,7 +1042,7 @@ unsigned char *use_pack(struct packed_git *p,
1042
1042
if (offset > (p -> pack_size - 20 ))
1043
1043
die ("offset beyond end of packfile (truncated pack?)" );
1044
1044
if (offset < 0 )
1045
- die ("offset before end of packfile (broken .idx?)" );
1045
+ die (_ ( "offset before end of packfile (broken .idx?)" ) );
1046
1046
1047
1047
if (!win || !in_window (win , offset )) {
1048
1048
if (win )
@@ -2367,11 +2367,11 @@ void check_pack_index_ptr(const struct packed_git *p, const void *vptr)
2367
2367
const unsigned char * start = p -> index_data ;
2368
2368
const unsigned char * end = start + p -> index_size ;
2369
2369
if (ptr < start )
2370
- die ("offset before start of pack index for %s (corrupt index?)" ,
2370
+ die (_ ( "offset before start of pack index for %s (corrupt index?)" ) ,
2371
2371
p -> pack_name );
2372
2372
/* No need to check for underflow; .idx files must be at least 8 bytes */
2373
2373
if (ptr >= end - 8 )
2374
- die ("offset beyond end of pack index for %s (truncated index?)" ,
2374
+ die (_ ( "offset beyond end of pack index for %s (truncated index?)" ) ,
2375
2375
p -> pack_name );
2376
2376
}
2377
2377
You can’t perform that action at this time.
0 commit comments