Repository navigation
Commit dc5ba4c
committed
fix(git): raise error on invalid branch type; normalize git_log output format
Two fixes in the git server:
1. git_branch: Invalid branch_type values (not 'local'/'remote'/'all')
returned an error string that was silently treated as successful
branch output. Now raises ValueError so the caller can properly
report the error to the client.
2. git_log: The filtered (--since/--until) and unfiltered paths
produced inconsistent output. The unfiltered path used !r (repr)
formatting which adds quotes around values (e.g., Commit: 'abc123'),
while the filtered path had no quotes. Both paths now use consistent
plain formatting. Message field indentation normalized to 4 spaces
in both paths.1 parent d31124c commit dc5ba4c
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
| 193 | + | |
| 194 | + | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
0 commit comments