Skip to content

Commit 7f20008

Browse files
committed
Merge branch 'maint-1.8.1' into maint
* maint-1.8.1: fast-export: fix argument name in error messages Documentation: distinguish between ref and offset deltas in pack-format
2 parents 5234b41 + 04a74b6 commit 7f20008

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Documentation/technical/pack-format.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Git pack format
2626

2727
(deltified representation)
2828
n-byte type and length (3-bit type, (n-1)*7+4-bit length)
29-
20-byte base object name
29+
20-byte base object name if OBJ_REF_DELTA or a negative relative
30+
offset from the delta object's position in the pack if this
31+
is an OBJ_OFS_DELTA object
3032
compressed delta data
3133

3234
Observation: length of each object is encoded in a variable

builtin/fast-export.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static int parse_opt_signed_tag_mode(const struct option *opt,
4343
else if (!strcmp(arg, "strip"))
4444
signed_tag_mode = STRIP;
4545
else
46-
return error("Unknown signed-tag mode: %s", arg);
46+
return error("Unknown signed-tags mode: %s", arg);
4747
return 0;
4848
}
4949

@@ -416,7 +416,7 @@ static void handle_tag(const char *name, struct tag *tag)
416416
switch(signed_tag_mode) {
417417
case ABORT:
418418
die ("Encountered signed tag %s; use "
419-
"--signed-tag=<mode> to handle it.",
419+
"--signed-tags=<mode> to handle it.",
420420
sha1_to_hex(tag->object.sha1));
421421
case WARN:
422422
warning ("Exporting signed tag %s",

0 commit comments

Comments
 (0)