Commit 0ec0fb3
committed
Don't allow Bounds::Commits to contain non-hashes.
There was only ever one case of it containing a non-hash, and that was
when `--start` was a hash, and `--end` was not specified. In that case,
it was "origin/master", and then converted to a hash later on. To
simplify things, this converts `origin/master` to master's actual commit
early when the `Bounds` is created.1 parent bb4b61f commit 0ec0fb3
2 files changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | | - | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
950 | | - | |
| 950 | + | |
951 | 951 | | |
952 | 952 | | |
953 | | - | |
| 953 | + | |
954 | 954 | | |
955 | 955 | | |
956 | 956 | | |
| |||
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
970 | | - | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
971 | 979 | | |
972 | 980 | | |
973 | 981 | | |
| |||
1010 | 1018 | | |
1011 | 1019 | | |
1012 | 1020 | | |
1013 | | - | |
| 1021 | + | |
1014 | 1022 | | |
1015 | 1023 | | |
1016 | 1024 | | |
| |||
0 commit comments