Commit ed2f6f8
refs: add TRANSACTION_CREATE_EXISTS error
Currently there is only one special error for transaction, for when
there is a naming conflict, all other errors are dumped under a generic
error. Add a new special error case for when the caller requests the
reference to be updated only when it does not yet exist and the
reference actually does exist.
Signed-off-by: Bence Ferdinandy <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent dfe86fa commit ed2f6f8
3 files changed
+23
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| 776 | + | |
| 777 | + | |
776 | 778 | | |
777 | | - | |
| 779 | + | |
778 | 780 | | |
779 | 781 | | |
780 | 782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2501 | 2501 | | |
2502 | 2502 | | |
2503 | 2503 | | |
| 2504 | + | |
| 2505 | + | |
2504 | 2506 | | |
2505 | 2507 | | |
2506 | 2508 | | |
2507 | 2509 | | |
2508 | | - | |
| 2510 | + | |
2509 | 2511 | | |
2510 | 2512 | | |
2511 | 2513 | | |
| 2514 | + | |
| 2515 | + | |
2512 | 2516 | | |
2513 | 2517 | | |
2514 | 2518 | | |
| |||
2521 | 2525 | | |
2522 | 2526 | | |
2523 | 2527 | | |
2524 | | - | |
| 2528 | + | |
2525 | 2529 | | |
2526 | 2530 | | |
2527 | 2531 | | |
| |||
2601 | 2605 | | |
2602 | 2606 | | |
2603 | 2607 | | |
2604 | | - | |
2605 | | - | |
2606 | | - | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
2607 | 2613 | | |
2608 | 2614 | | |
2609 | 2615 | | |
| |||
2634 | 2640 | | |
2635 | 2641 | | |
2636 | 2642 | | |
2637 | | - | |
2638 | | - | |
2639 | | - | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
2640 | 2648 | | |
2641 | 2649 | | |
2642 | 2650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1208 | 1208 | | |
1209 | 1209 | | |
1210 | 1210 | | |
1211 | | - | |
| 1211 | + | |
| 1212 | + | |
1212 | 1213 | | |
1213 | 1214 | | |
1214 | 1215 | | |
| 1216 | + | |
| 1217 | + | |
1215 | 1218 | | |
1216 | 1219 | | |
1217 | 1220 | | |
| |||
1223 | 1226 | | |
1224 | 1227 | | |
1225 | 1228 | | |
1226 | | - | |
1227 | 1229 | | |
1228 | 1230 | | |
1229 | 1231 | | |
| |||
0 commit comments