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,
10421042 if (offset > (p -> pack_size - 20 ))
10431043 die ("offset beyond end of packfile (truncated pack?)" );
10441044 if (offset < 0 )
1045- die ("offset before end of packfile (broken .idx?)" );
1045+ die (_ ( "offset before end of packfile (broken .idx?)" ) );
10461046
10471047 if (!win || !in_window (win , offset )) {
10481048 if (win )
@@ -2367,11 +2367,11 @@ void check_pack_index_ptr(const struct packed_git *p, const void *vptr)
23672367 const unsigned char * start = p -> index_data ;
23682368 const unsigned char * end = start + p -> index_size ;
23692369 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?)" ) ,
23712371 p -> pack_name );
23722372 /* No need to check for underflow; .idx files must be at least 8 bytes */
23732373 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?)" ) ,
23752375 p -> pack_name );
23762376}
23772377
You can’t perform that action at this time.
0 commit comments