Commit 16dd62a
committed
git-gui: Add a --trace command line option
Often new Git users want to know what commands git-gui uses to make
changes, so they can learn the command line interface by mimicking
what git-gui does in response to GUI actions. Showing the direct
commands being executed is easy enough to implement but this is of
little value to end-users because git-gui frequently directly calls
plumbing, not porcelain.
Since the code is already written and tested, its fairly harmless
to include. It may not help a new end-user, but it can help with
debugging git-gui or reverse-engineering its logic to further make
changes to it or implement another GUI for Git.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>1 parent 76bb40c commit 16dd62a
1 file changed
+39
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
| |||
245 | 253 | | |
246 | 254 | | |
247 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
248 | 271 | | |
249 | 272 | | |
250 | 273 | | |
| |||
339 | 362 | | |
340 | 363 | | |
341 | 364 | | |
342 | | - | |
| 365 | + | |
343 | 366 | | |
344 | 367 | | |
345 | 368 | | |
| |||
359 | 382 | | |
360 | 383 | | |
361 | 384 | | |
362 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
363 | 391 | | |
364 | 392 | | |
365 | 393 | | |
| 394 | + | |
366 | 395 | | |
367 | | - | |
| 396 | + | |
368 | 397 | | |
369 | 398 | | |
370 | 399 | | |
| |||
375 | 404 | | |
376 | 405 | | |
377 | 406 | | |
| 407 | + | |
378 | 408 | | |
379 | 409 | | |
380 | 410 | | |
| |||
387 | 417 | | |
388 | 418 | | |
389 | 419 | | |
390 | | - | |
| 420 | + | |
391 | 421 | | |
392 | 422 | | |
393 | 423 | | |
| |||
415 | 445 | | |
416 | 446 | | |
417 | 447 | | |
418 | | - | |
| 448 | + | |
419 | 449 | | |
420 | 450 | | |
421 | 451 | | |
| |||
435 | 465 | | |
436 | 466 | | |
437 | 467 | | |
438 | | - | |
| 468 | + | |
| 469 | + | |
439 | 470 | | |
440 | 471 | | |
441 | 472 | | |
| |||
455 | 486 | | |
456 | 487 | | |
457 | 488 | | |
458 | | - | |
| 489 | + | |
459 | 490 | | |
460 | 491 | | |
461 | 492 | | |
462 | 493 | | |
463 | | - | |
| 494 | + | |
464 | 495 | | |
465 | 496 | | |
466 | 497 | | |
| |||
0 commit comments