Commit f3dc740
committed
exclude upstream check from
When rust-lang/rust is configured as remote, some of the git logic (for tracking changed files)
that uses `get_closest_merge_commit` starts to produce annoying results as the upstream branch becomes
outdated quickly (since it isn't updated with git pull). We can rely on `HEAD` as we specifically treat
bors commits as merge commits, which also exist on upstream. Therefore, checking the upstream branch
unnecessarily complicates things and also causes incorrect results.
Signed-off-by: onur-ozkan <[email protected]>build_helper::git::get_closest_merge_commit
1 parent 11ee3a8 commit f3dc740
1 file changed
+3
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 99 | | |
116 | 100 | | |
117 | | - | |
118 | | - | |
| 101 | + | |
| 102 | + | |
119 | 103 | | |
120 | 104 | | |
121 | 105 | | |
| |||
127 | 111 | | |
128 | 112 | | |
129 | 113 | | |
130 | | - | |
131 | | - | |
132 | 114 | | |
133 | 115 | | |
134 | 116 | | |
135 | 117 | | |
136 | 118 | | |
137 | | - | |
| 119 | + | |
138 | 120 | | |
139 | 121 | | |
140 | 122 | | |
| |||
0 commit comments