Commit dbc7e4b
committed
attr_file: refactor
The gitattributes code is one of our oldest and most-untouched codebases
in libgit2, and as such its code style doesn't quite match our current
best practices. Refactor the function `git_attr_file__lookup_standalone`
to better match them.load_standalone function1 parent be8f9bb commit dbc7e4b
1 file changed
+13
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | 348 | | |
| 349 | + | |
| 350 | + | |
351 | 351 | | |
352 | | - | |
353 | | - | |
354 | | - | |
| 352 | + | |
| 353 | + | |
355 | 354 | | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 355 | + | |
| 356 | + | |
363 | 357 | | |
364 | 358 | | |
365 | 359 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
370 | 364 | | |
| 365 | + | |
| 366 | + | |
371 | 367 | | |
372 | 368 | | |
373 | | - | |
374 | | - | |
| 369 | + | |
375 | 370 | | |
376 | 371 | | |
377 | 372 | | |
| |||
0 commit comments