diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-24 20:30:10 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-25 08:15:44 +0100 |
| commit | 86bfc3e1c64c2c0277f1e795c0a15cba992ac6f5 (patch) | |
| tree | 81153d6426c0f0a0a985eb7465004d7368a5c509 /src/diff_print.c | |
| parent | 9950bb4e8de076565976128559ff273e9d4a2a78 (diff) | |
| download | libgit2-86bfc3e1c64c2c0277f1e795c0a15cba992ac6f5.tar.gz | |
diff: change id abbrev option's name to id_abbrev
Same as the other commits in the series, we use 'id' when talking about
thing rather than the datatype.
Diffstat (limited to 'src/diff_print.c')
| -rw-r--r-- | src/diff_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff_print.c b/src/diff_print.c index 5bacc5cc6..1a09bed54 100644 --- a/src/diff_print.c +++ b/src/diff_print.c @@ -37,8 +37,8 @@ static int diff_print_info_init( if (diff) pi->flags = diff->opts.flags; - if (diff && diff->opts.oid_abbrev != 0) - pi->oid_strlen = diff->opts.oid_abbrev; + if (diff && diff->opts.id_abbrev != 0) + pi->oid_strlen = diff->opts.id_abbrev; else if (!diff || !diff->repo) pi->oid_strlen = GIT_ABBREV_DEFAULT; else if (git_repository__cvar( |
