66
66
" StGit support for Magit."
67
67
:group 'magit-extensions )
68
68
69
+ (defgroup magit-stgit-commands nil
70
+ " Options controlling behavior of certain commands."
71
+ :group 'magit-stgit )
72
+
73
+
69
74
(defcustom magit-stgit-executable " stg"
70
75
" The name of the StGit executable."
71
76
:group 'magit-stgit
@@ -245,7 +250,7 @@ Else, asks the user for a patch name."
245
250
246
251
(magit-define-popup magit-stgit-popup
247
252
" Popup console for StGit commands."
248
- 'magit-popups
253
+ 'magit-stgit-commands
249
254
:actions '((?i " Init" magit-stgit-init)
250
255
; ;
251
256
(?N " New" magit-stgit-new-popup)
@@ -285,7 +290,7 @@ Else, asks the user for a patch name."
285
290
286
291
(magit-define-popup magit-stgit-new-popup
287
292
" Popup console for StGit new."
288
- 'magit-popups
293
+ 'magit-stgit-commands
289
294
:switches '((?a " Add \" Acked-by:\" line" " --ack" )
290
295
(?s " Add \" Signed-off-by:\" line" " --sign" ))
291
296
:options '((?n " Set patch name" " "
@@ -302,7 +307,7 @@ Use ARGS to pass additional arguments."
302
307
303
308
(magit-define-popup magit-stgit-edit-popup
304
309
" Popup console for StGit edit."
305
- 'magit-popups
310
+ 'magit-stgit-commands
306
311
:switches '((?s " Add \" Signed-off-by:\" line" " --sign" )
307
312
(?a " Add \" Acked-by:\" line" " --ack" ))
308
313
:actions '((?e " Edit" magit-stgit-edit))
@@ -318,7 +323,7 @@ Use ARGS to pass additional arguments."
318
323
319
324
(magit-define-popup magit-stgit-float-popup
320
325
" Popup console for StGit float."
321
- 'magit-popups
326
+ 'magit-stgit-commands
322
327
:switches '((?k " Keep the local changes" " --keep" ))
323
328
:actions '((?f " Float" magit-stgit-float))
324
329
:default-action #'magit-stgit-float )
@@ -341,7 +346,7 @@ Use ARGS to pass additional arguments."
341
346
342
347
(magit-define-popup magit-stgit-sink-popup
343
348
" Popup console for StGit sink."
344
- 'magit-popups
349
+ 'magit-stgit-commands
345
350
:switches '((?k " Keep the local changes" " --keep" ))
346
351
:options '((?t " Sink patches below the target patch (else to bottom)"
347
352
" --to="
@@ -365,7 +370,7 @@ Use ARGS to pass additional arguments."
365
370
366
371
(magit-define-popup magit-stgit-commit-popup
367
372
" Popup console for StGit commit."
368
- 'magit-popups
373
+ 'magit-stgit-commands
369
374
:switches '((?a " Commit all applied patches" " --all" ))
370
375
:options '((?n " Commit the specified number of patches" " --number=" read-number))
371
376
:actions '((?c " Commit" magit-stgit-commit))
@@ -383,7 +388,7 @@ Use ARGS to pass additional arguments."
383
388
384
389
(magit-define-popup magit-stgit-uncommit-popup
385
390
" Popup console for StGit uncommit."
386
- 'magit-popups
391
+ 'magit-stgit-commands
387
392
:options '((?n " Uncommit the specified number of commits" " --num=" read-number))
388
393
:actions '((?C " Uncommit" magit-stgit-uncommit))
389
394
:default-action #'magit-stgit-uncommit )
@@ -396,7 +401,7 @@ Use ARGS to pass additional arguments."
396
401
397
402
(magit-define-popup magit-stgit-refresh-popup
398
403
" Popup console for StGit refresh."
399
- 'magit-popups
404
+ 'magit-stgit-commands
400
405
:switches '((?u " Only update the current patch files" " --update" )
401
406
(?i " Refresh from index instead of worktree" " --index" )
402
407
(?F " Force refresh even if index is dirty" " --force" )
@@ -429,7 +434,7 @@ into the series."
429
434
430
435
(magit-define-popup magit-stgit-rebase-popup
431
436
" Popup console for StGit rebase."
432
- 'magit-popups
437
+ 'magit-stgit-commands
433
438
:switches '((?n " Do not push the patches back after rebasing" " --nopush" )
434
439
(?m " Check for patches merged upstream" " --merged" ))
435
440
:actions '((?R " Rebase" magit-stgit-rebase))
@@ -452,7 +457,7 @@ Use ARGS to pass additional arguments"
452
457
453
458
(magit-define-popup magit-stgit-delete-popup
454
459
" Popup console for StGit delete."
455
- 'magit-popups
460
+ 'magit-stgit-commands
456
461
:switches '((?s " Spill patch contents to worktree and index" " --spill" ))
457
462
:actions '((?k " Delete" magit-stgit-delete))
458
463
:default-action #'magit-stgit-delete )
@@ -484,7 +489,7 @@ Use ARGS to pass additional arguments."
484
489
485
490
(magit-define-popup magit-stgit-goto-popup
486
491
" Popup console for StGit goto."
487
- 'magit-popups
492
+ 'magit-stgit-commands
488
493
:switches '((?k " Keep the local changes" " --keep" )
489
494
(?m " Check for patches merged upstream" " --merged" ))
490
495
:actions '((?a " Goto" magit-stgit-goto))
@@ -506,7 +511,7 @@ Use ARGS to pass additional arguments."
506
511
507
512
(magit-define-popup magit-stgit-undo-popup
508
513
" Popup console for StGit undo."
509
- 'magit-popups
514
+ 'magit-stgit-commands
510
515
:options '((?n " Undo the last N commands" " --number=" read-number))
511
516
:switches '((?h " Discard changes in index/worktree" " --hard" ))
512
517
:actions '((?z " Undo" magit-stgit-undo))
@@ -521,7 +526,7 @@ Use ARGS to pass additional arguments."
521
526
522
527
(magit-define-popup magit-stgit-redo-popup
523
528
" Popup console for StGit redo."
524
- 'magit-popups
529
+ 'magit-stgit-commands
525
530
:options '((?n " Undo the last N commands" " --number=" read-number))
526
531
:switches '((?h " Discard changes in index/worktree" " --hard" ))
527
532
:actions '((?Z " Redo" magit-stgit-redo))
0 commit comments