]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/t3501-revert-cherry-pick.sh: clarify scope of the file
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Sun, 30 Apr 2023 10:00:34 +0000 (12:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 May 2023 15:24:58 +0000 (08:24 -0700)
The file started out as a test for picks and reverts with renames, but
has been subsequently populated with all kinds of basic tests, in
accordance with its generic name. Adjust the description to reflect
that.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3501-revert-cherry-pick.sh

index 2f3e3e2416921c28b27b75dc9f76c20b40401d4d..e2ef6193233dd0b7a2341c391695aabd73d03200 100755 (executable)
@@ -1,14 +1,6 @@
 #!/bin/sh
 
-test_description='test cherry-pick and revert with renames
-
-  --
-   + rename2: renames oops to opos
-  +  rename1: renames oops to spoo
-  +  added:   adds extra line to oops
-  ++ initial: has lines in oops
-
-'
+test_description='miscellaneous basic tests for cherry-pick and revert'
 
 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
@@ -63,6 +55,14 @@ test_expect_success 'revert --nonsense' '
        test_i18ngrep "[Uu]sage:" msg
 '
 
+# the following two test cherry-pick and revert with renames
+#
+# --
+#  + rename2: renames oops to opos
+# +  rename1: renames oops to spoo
+# +  added:   adds extra line to oops
+# ++ initial: has lines in oops
+
 test_expect_success 'cherry-pick after renaming branch' '
 
        git checkout rename2 &&