git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFCv3 1/2] git-rebase -i: add command "drop" to remove a commit

From
Remi Galan Alfonso <remi.galan-alfonso@ensimag.grenoble-inp.fr>
Date
Jun 2, 2015, 14:32 UTC
Message-ID
<49957049.34247.1433255547565.JavaMail.zimbra@ensimag.grenoble-inp.fr>
In-Reply-To
<vpqeglujisv.fsf@anie.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> : writes
Show 7 quoted lines
> > +test_expect_success 'drop' '
> 
> Please, be more descriptive in the first argument of
> test_expect_success. It's usually a good thing to say not only what the
> test stresses but also what the expected behavior is.
> 
> test_expect_success 'drop actually drops the lines' '

For this one I've based myself on the first argument of some other tests that tests commands for git rebase -i :

> t3404-rebase-interactive.sh:240
> test_expect_success 'squash' '
> t3404-rebase-interactive.sh:679
> test_expect_success 'reword' '
Rémi
Previous: Matthieu Moy
Message 10 of 10 in “git-rebase -i: add command "drop" to remove a commit”
  1. 1/2 git-rebase -i: add command "drop" to remove a commitGalan Rémi, Jun 2, 2015
  2. 2/2 git rebase -i: warn about removed commitsGalan Rémi, Jun 2, 2015
  3. Matthieu MoyJun 2, 2015
  4. Remi Galan AlfonsoJun 2, 2015
  5. Junio C HamanoJun 2, 2015
  6. Matthieu MoyJun 3, 2015
  7. Remi Galan AlfonsoJun 3, 2015
  8. Remi Galan AlfonsoJun 3, 2015
  9. Matthieu MoyJun 2, 2015
  10. Remi Galan AlfonsoJun 2, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.