forked fromgitpython-developers/GitPython
- Notifications
You must be signed in to change notification settings - Fork0
Commitb08651e
committed
Improved handling of name-resolution, which will not mangle names anymore.
Previously, an unresolvable ref name like HEAD would end up as HEX andwas presented as BadObject error, even though that exception is forinvalid shas only.Now BadName is thrown, which converts into a more useful error message.Improvesgitpython-developers#1051 parentfc94b89 commitb08651e
2 files changed
+32
-4
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 |
| |
7 | 10 |
| |
8 | 11 |
| |
| |||
83 | 86 |
| |
84 | 87 |
| |
85 | 88 |
| |
86 |
| - | |
| 89 | + | |
87 | 90 |
| |
88 | 91 |
| |
89 | 92 |
| |
| |||
119 | 122 |
| |
120 | 123 |
| |
121 | 124 |
| |
122 |
| - | |
| 125 | + | |
123 | 126 |
| |
124 | 127 |
| |
125 | 128 |
| |
|
Lines changed: 26 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
| 30 | + | |
30 | 31 |
| |
| 32 | + | |
31 | 33 |
| |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| 40 | + | |
38 | 41 |
| |
39 | 42 |
| |
40 | 43 |
| |
| |||
682 | 685 |
| |
683 | 686 |
| |
684 | 687 |
| |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + |
0 commit comments
Comments
(0)