{"thread":{"id":"49937","subject":"\"git add -p\" versus \"git add -i\", followed by \"p\"","startedAt":"2018-12-02T16:30:22Z","lastAt":"2018-12-08T16:22:25Z","messageCount":9,"participants":["Robert P. J. Day","SZEDER Gábor","Kevin Daudt","Duy Nguyen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"364443","messageId":"alpine.LFD.2.21.1812021124350.5509@localhost.localdomain","threadId":"49937","inReplyTo":null,"subject":"\"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-12-02T16:30:19Z","receivedAt":"2018-12-02T16:30:22Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"\n  testing adding by patch for the very first time (i've just never\nneeded this), and reading the \"progit\" book and reading the man page,\nand the impression i'm getting is that running \"git add -p\" (going\nstraight to patch mode) is supposed to be equivalent to running \"git\nadd -i\", then typing \"p\" to switch to patch mode.\n\n  that is most emphatically not what i'm seeing. if i run \"git add\n-p\", then i get to what i expect -- the patch subsystem:\n\n  $ git add -p\n  diff --git a/README.asc b/README.asc\n  index fa40bad..840e85b 100644\n  --- a/README.asc\n  +++ b/README.asc\n  @@ -1,3 +1,9 @@\n  +change 1\n  +\n  +\n  +\n  +\n  +\n   = Pro Git, Second Edition\n\n   Welcome to the second edition of the Pro Git book.\n  Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]?\n\nbut if i start with \"git add -i\", there seems to be no way to get to\npatch mode -- certainly \"p\" doesn't do it. am i stupidly missing\nsomething trivial? is the explanation misleading or inncomplete?\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"},{"id":"364444","messageId":"20181202165617.GG30222@szeder.dev","threadId":"49937","inReplyTo":"alpine.LFD.2.21.1812021124350.5509@localhost.localdomain","subject":"Re: \"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"SZEDER Gábor","fromEmail":"szeder.dev@gmail.com","sentAt":"2018-12-02T16:56:17Z","receivedAt":"2018-12-02T16:56:25Z","isPatch":false,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"On Sun, Dec 02, 2018 at 11:30:19AM -0500, Robert P. J. Day wrote:\n> \n>   testing adding by patch for the very first time (i've just never\n> needed this), and reading the \"progit\" book and reading the man page,\n> and the impression i'm getting is that running \"git add -p\" (going\n> straight to patch mode) is supposed to be equivalent to running \"git\n> add -i\", then typing \"p\" to switch to patch mode.\n> \n>   that is most emphatically not what i'm seeing. if i run \"git add\n> -p\", then i get to what i expect -- the patch subsystem:\n> \n>   $ git add -p\n>   diff --git a/README.asc b/README.asc\n>   index fa40bad..840e85b 100644\n>   --- a/README.asc\n>   +++ b/README.asc\n>   @@ -1,3 +1,9 @@\n>   +change 1\n>   +\n>   +\n>   +\n>   +\n>   +\n>    = Pro Git, Second Edition\n> \n>    Welcome to the second edition of the Pro Git book.\n>   Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]?\n> \n> but if i start with \"git add -i\", there seems to be no way to get to\n> patch mode -- certainly \"p\" doesn't do it. am i stupidly missing\n> something trivial? is the explanation misleading or inncomplete?\n\nWorksforme™:\n\n  $ echo \"New content\" >>README.md \n  $ echo \"New content\" >>t/README\n  $ echo \"New content\" >>contrib//README\n  $ git add -i\n             staged     unstaged path\n    1:    unchanged        +1/-0 README.md\n    2:    unchanged        +1/-0 contrib/README\n    3:    unchanged        +1/-0 t/README\n  \n  *** Commands ***\n    1: status       2: update       3: revert       4: add untracked\n    5: patch        6: diff         7: quit         8: help\n  What now> p\n             staged     unstaged path\n    1:    unchanged        +1/-0 README.md\n    2:    unchanged        +1/-0 contrib/README\n    3:    unchanged        +1/-0 t/README\n  Patch update>> 1\n             staged     unstaged path\n  * 1:    unchanged        +1/-0 README.md\n    2:    unchanged        +1/-0 contrib/README\n    3:    unchanged        +1/-0 t/README\n  Patch update>> 2\n             staged     unstaged path\n  * 1:    unchanged        +1/-0 README.md\n  * 2:    unchanged        +1/-0 contrib/README\n    3:    unchanged        +1/-0 t/README\n  Patch update>> \n\nHere I hit enter.  Did you?\n\n  diff --git a/README.md b/README.md\n  index f920a42fad..63dee5cfc3 100644\n  --- a/README.md\n  +++ b/README.md\n  @@ -62,3 +62,4 @@ and the name as (depending on your mood):\n   [Documentation/giteveryday.txt]: Documentation/giteveryday.txt\n   [Documentation/gitcvs-migration.txt]:\n  Documentation/gitcvs-migration.txt\n   [Documentation/SubmittingPatches]: Documentation/SubmittingPatches\n  +New content\n  Stage this hunk [y,n,q,a,d,e,?]? y\n  \n  diff --git a/contrib/README b/contrib/README\n  index 05f291c1f1..2b152dfcff 100644\n  --- a/contrib/README\n  +++ b/contrib/README\n  @@ -41,3 +41,4 @@ submit a patch to create a subdirectory of contrib/\n  and put your\n   stuff there.\n   \n   -jc\n  +New content\n  Stage this hunk [y,n,q,a,d,e,?]? n\n  \n  *** Commands ***\n    1: status       2: update       3: revert       4: add untracked\n    5: patch        6: diff         7: quit         8: help\n  What now> q\n  Bye.\n  $ git diff --cached \n  diff --git a/README.md b/README.md\n  index f920a42fad..63dee5cfc3 100644\n  --- a/README.md\n  +++ b/README.md\n  @@ -62,3 +62,4 @@ and the name as (depending on your mood):\n   [Documentation/giteveryday.txt]: Documentation/giteveryday.txt\n   [Documentation/gitcvs-migration.txt]: Documentation/gitcvs-migration.txt\n   [Documentation/SubmittingPatches]: Documentation/SubmittingPatches\n  +New content\n  $\n\n\nArguably the documentation could make it clear that the user can\nchoose multiple files at once, e.g.:\n\ndiff --git a/Documentation/git-add.txt b/Documentation/git-add.txt\nindex c9623854bf..061f9cbb0d 100644\n--- a/Documentation/git-add.txt\n+++ b/Documentation/git-add.txt\n@@ -317,9 +317,9 @@ add untracked::\n \n patch::\n \n-  This lets you choose one path out of a 'status' like selection.\n-  After choosing the path, it presents the diff between the index\n-  and the working tree file and asks you if you want to stage\n+  This lets you choose one or more paths out of a 'status' like selection.\n+  After choosing the path(s), it presents the diff between the index\n+  and the working tree file(s) and asks you if you want to stage\n   the change of each hunk.  You can select one of the following\n   options and type return:\n \nAnd perhaps we could have a dedicated menu entry for \"I'm done with\nselecting paths\"?  Dunno; I'm a 'git add -p' user myself.\n\n"},{"id":"364445","messageId":"20181202165242.GA4823@alpha","threadId":"49937","inReplyTo":"alpine.LFD.2.21.1812021124350.5509@localhost.localdomain","subject":"Re: \"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"Kevin Daudt","fromEmail":"me@ikke.info","sentAt":"2018-12-02T16:52:42Z","receivedAt":"2018-12-02T16:59:04Z","isPatch":false,"sender":{"key":"me@ikke.info","avatar":"https://avatars.githubusercontent.com/u/135698?v=4"},"body":"On Sun, Dec 02, 2018 at 11:30:19AM -0500, Robert P. J. Day wrote:\n> \n>   testing adding by patch for the very first time (i've just never\n> needed this), and reading the \"progit\" book and reading the man page,\n> and the impression i'm getting is that running \"git add -p\" (going\n> straight to patch mode) is supposed to be equivalent to running \"git\n> add -i\", then typing \"p\" to switch to patch mode.\n> \n>   that is most emphatically not what i'm seeing. if i run \"git add\n> -p\", then i get to what i expect -- the patch subsystem:\n> \n>   $ git add -p\n>   diff --git a/README.asc b/README.asc\n>   index fa40bad..840e85b 100644\n>   --- a/README.asc\n>   +++ b/README.asc\n>   @@ -1,3 +1,9 @@\n>   +change 1\n>   +\n>   +\n>   +\n>   +\n>   +\n>    = Pro Git, Second Edition\n> \n>    Welcome to the second edition of the Pro Git book.\n>   Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]?\n> \n> but if i start with \"git add -i\", there seems to be no way to get to\n> patch mode -- certainly \"p\" doesn't do it. am i stupidly missing\n> something trivial? is the explanation misleading or inncomplete?\n> \n> rday\n> \n> -- \n> \n\nAfter selecting 'p', what do you get?\n\nYou should see a list of modified files. You can select the files you\nwant to stage by the listed numbers. After you selected those files, you\npress enter, and then you will get the options you'll also see with git\nadd -p.\n\nKevin\n"},{"id":"364446","messageId":"alpine.LFD.2.21.1812021158370.6459@localhost.localdomain","threadId":"49937","inReplyTo":"20181202165242.GA4823@alpha","subject":"Re: \"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-12-02T16:59:53Z","receivedAt":"2018-12-02T16:59:59Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"On Sun, 2 Dec 2018, Kevin Daudt wrote:\n\n> On Sun, Dec 02, 2018 at 11:30:19AM -0500, Robert P. J. Day wrote:\n> >\n> >   testing adding by patch for the very first time (i've just never\n> > needed this), and reading the \"progit\" book and reading the man page,\n> > and the impression i'm getting is that running \"git add -p\" (going\n> > straight to patch mode) is supposed to be equivalent to running \"git\n> > add -i\", then typing \"p\" to switch to patch mode.\n> >\n> >   that is most emphatically not what i'm seeing. if i run \"git add\n> > -p\", then i get to what i expect -- the patch subsystem:\n> >\n> >   $ git add -p\n> >   diff --git a/README.asc b/README.asc\n> >   index fa40bad..840e85b 100644\n> >   --- a/README.asc\n> >   +++ b/README.asc\n> >   @@ -1,3 +1,9 @@\n> >   +change 1\n> >   +\n> >   +\n> >   +\n> >   +\n> >   +\n> >    = Pro Git, Second Edition\n> >\n> >    Welcome to the second edition of the Pro Git book.\n> >   Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]?\n> >\n> > but if i start with \"git add -i\", there seems to be no way to get\n> > to patch mode -- certainly \"p\" doesn't do it. am i stupidly\n> > missing something trivial? is the explanation misleading or\n> > inncomplete?\n>\n> After selecting 'p', what do you get?\n>\n> You should see a list of modified files. You can select the files\n> you want to stage by the listed numbers. After you selected those\n> files, you press enter, and then you will get the options you'll\n> also see with git add -p.\n\n$ git add -i\n           staged     unstaged path\n  1:    unchanged       +12/-0 README.asc\n\n*** Commands ***\n  1: [s]tatus\t  2: [u]pdate\t  3: [r]evert\t  4: [a]dd untracked\n  5: [p]atch\t  6: [d]iff\t  7: [q]uit\t  8: [h]elp\nWhat now> p\n           staged     unstaged path\n  1:    unchanged       +12/-0 [R]EADME.asc\nPatch update>> 1\n           staged     unstaged path\n* 1:    unchanged       +12/-0 [R]EADME.asc\nPatch update>> 1\n           staged     unstaged path\n* 1:    unchanged       +12/-0 [R]EADME.asc\nPatch update>>\n\n  and ... then what?\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"},{"id":"364447","messageId":"alpine.LFD.2.21.1812021200160.6459@localhost.localdomain","threadId":"49937","inReplyTo":"20181202165617.GG30222@szeder.dev","subject":"Re: \"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-12-02T17:01:01Z","receivedAt":"2018-12-02T17:01:05Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"On Sun, 2 Dec 2018, SZEDER Gábor wrote:\n\n> On Sun, Dec 02, 2018 at 11:30:19AM -0500, Robert P. J. Day wrote:\n> >\n> >   testing adding by patch for the very first time (i've just never\n> > needed this), and reading the \"progit\" book and reading the man page,\n> > and the impression i'm getting is that running \"git add -p\" (going\n> > straight to patch mode) is supposed to be equivalent to running \"git\n> > add -i\", then typing \"p\" to switch to patch mode.\n> >\n> >   that is most emphatically not what i'm seeing. if i run \"git add\n> > -p\", then i get to what i expect -- the patch subsystem:\n> >\n> >   $ git add -p\n> >   diff --git a/README.asc b/README.asc\n> >   index fa40bad..840e85b 100644\n> >   --- a/README.asc\n> >   +++ b/README.asc\n> >   @@ -1,3 +1,9 @@\n> >   +change 1\n> >   +\n> >   +\n> >   +\n> >   +\n> >   +\n> >    = Pro Git, Second Edition\n> >\n> >    Welcome to the second edition of the Pro Git book.\n> >   Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]?\n> >\n> > but if i start with \"git add -i\", there seems to be no way to get to\n> > patch mode -- certainly \"p\" doesn't do it. am i stupidly missing\n> > something trivial? is the explanation misleading or inncomplete?\n>\n> Worksforme™:\n>\n>   $ echo \"New content\" >>README.md\n>   $ echo \"New content\" >>t/README\n>   $ echo \"New content\" >>contrib//README\n>   $ git add -i\n>              staged     unstaged path\n>     1:    unchanged        +1/-0 README.md\n>     2:    unchanged        +1/-0 contrib/README\n>     3:    unchanged        +1/-0 t/README\n>\n>   *** Commands ***\n>     1: status       2: update       3: revert       4: add untracked\n>     5: patch        6: diff         7: quit         8: help\n>   What now> p\n>              staged     unstaged path\n>     1:    unchanged        +1/-0 README.md\n>     2:    unchanged        +1/-0 contrib/README\n>     3:    unchanged        +1/-0 t/README\n>   Patch update>> 1\n>              staged     unstaged path\n>   * 1:    unchanged        +1/-0 README.md\n>     2:    unchanged        +1/-0 contrib/README\n>     3:    unchanged        +1/-0 t/README\n>   Patch update>> 2\n>              staged     unstaged path\n>   * 1:    unchanged        +1/-0 README.md\n>   * 2:    unchanged        +1/-0 contrib/README\n>     3:    unchanged        +1/-0 t/README\n>   Patch update>>\n>\n> Here I hit enter.  Did you?\n\n  ah, so after selecting the files to selectively stage, one enters a\nsimple CR. got it. not sure that's obvious from the docs but i'll\nverify that.\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================"},{"id":"364448","messageId":"alpine.LFD.2.21.1812021201550.6459@localhost.localdomain","threadId":"49937","inReplyTo":"20181202165617.GG30222@szeder.dev","subject":"Re: \"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-12-02T17:03:23Z","receivedAt":"2018-12-02T17:03:31Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"On Sun, 2 Dec 2018, SZEDER Gábor wrote:\n\n> On Sun, Dec 02, 2018 at 11:30:19AM -0500, Robert P. J. Day wrote:\n> >\n> >   testing adding by patch for the very first time (i've just never\n> > needed this), and reading the \"progit\" book and reading the man page,\n> > and the impression i'm getting is that running \"git add -p\" (going\n> > straight to patch mode) is supposed to be equivalent to running \"git\n> > add -i\", then typing \"p\" to switch to patch mode.\n> >\n> >   that is most emphatically not what i'm seeing. if i run \"git add\n> > -p\", then i get to what i expect -- the patch subsystem:\n> >\n> >   $ git add -p\n> >   diff --git a/README.asc b/README.asc\n> >   index fa40bad..840e85b 100644\n> >   --- a/README.asc\n> >   +++ b/README.asc\n> >   @@ -1,3 +1,9 @@\n> >   +change 1\n> >   +\n> >   +\n> >   +\n> >   +\n> >   +\n> >    = Pro Git, Second Edition\n> >\n> >    Welcome to the second edition of the Pro Git book.\n> >   Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]?\n> >\n> > but if i start with \"git add -i\", there seems to be no way to get to\n> > patch mode -- certainly \"p\" doesn't do it. am i stupidly missing\n> > something trivial? is the explanation misleading or inncomplete?\n>\n> Worksforme™:\n>\n>   $ echo \"New content\" >>README.md\n>   $ echo \"New content\" >>t/README\n>   $ echo \"New content\" >>contrib//README\n>   $ git add -i\n>              staged     unstaged path\n>     1:    unchanged        +1/-0 README.md\n>     2:    unchanged        +1/-0 contrib/README\n>     3:    unchanged        +1/-0 t/README\n>\n>   *** Commands ***\n>     1: status       2: update       3: revert       4: add untracked\n>     5: patch        6: diff         7: quit         8: help\n>   What now> p\n>              staged     unstaged path\n>     1:    unchanged        +1/-0 README.md\n>     2:    unchanged        +1/-0 contrib/README\n>     3:    unchanged        +1/-0 t/README\n>   Patch update>> 1\n>              staged     unstaged path\n>   * 1:    unchanged        +1/-0 README.md\n>     2:    unchanged        +1/-0 contrib/README\n>     3:    unchanged        +1/-0 t/README\n>   Patch update>> 2\n>              staged     unstaged path\n>   * 1:    unchanged        +1/-0 README.md\n>   * 2:    unchanged        +1/-0 contrib/README\n>     3:    unchanged        +1/-0 t/README\n>   Patch update>>\n>\n> Here I hit enter.  Did you?\n\n  perhaps i'm just not seeing it, but from \"man git-add\", it doesn't\nseem obvious that you would first select the files to work with, then\nhit a simple CR to get into actual patch mode.\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================"},{"id":"364449","messageId":"CACsJy8AkMfZ02b9p2sQi2p=Bw4MDckLYy_cBFVeN2_UY-Z3kCg@mail.gmail.com","threadId":"49937","inReplyTo":"alpine.LFD.2.21.1812021201550.6459@localhost.localdomain","subject":"Re: \"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2018-12-02T17:09:28Z","receivedAt":"2018-12-02T17:09:57Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Sun, Dec 2, 2018 at 6:05 PM Robert P. J. Day <rpjday@crashcourse.ca> wrote:\n> >   Patch update>> 2\n> >              staged     unstaged path\n> >   * 1:    unchanged        +1/-0 README.md\n> >   * 2:    unchanged        +1/-0 contrib/README\n> >     3:    unchanged        +1/-0 t/README\n> >   Patch update>>\n> >\n> > Here I hit enter.  Did you?\n>\n>   perhaps i'm just not seeing it, but from \"man git-add\", it doesn't\n> seem obvious that you would first select the files to work with, then\n> hit a simple CR to get into actual patch mode.\n\nI think it's the same procedure as the \"update\" step, which describes\nthis in more detail. I agree that the \"patch\" section does not make\nthis obvious.\n-- \nDuy\n"},{"id":"364450","messageId":"alpine.LFD.2.21.1812021229580.7271@localhost.localdomain","threadId":"49937","inReplyTo":"CACsJy8AkMfZ02b9p2sQi2p=Bw4MDckLYy_cBFVeN2_UY-Z3kCg@mail.gmail.com","subject":"Re: \"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-12-02T17:30:51Z","receivedAt":"2018-12-02T17:30:57Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"On Sun, 2 Dec 2018, Duy Nguyen wrote:\n\n> On Sun, Dec 2, 2018 at 6:05 PM Robert P. J. Day <rpjday@crashcourse.ca> wrote:\n> > >   Patch update>> 2\n> > >              staged     unstaged path\n> > >   * 1:    unchanged        +1/-0 README.md\n> > >   * 2:    unchanged        +1/-0 contrib/README\n> > >     3:    unchanged        +1/-0 t/README\n> > >   Patch update>>\n> > >\n> > > Here I hit enter.  Did you?\n> >\n> >   perhaps i'm just not seeing it, but from \"man git-add\", it\n> > doesn't seem obvious that you would first select the files to work\n> > with, then hit a simple CR to get into actual patch mode.\n>\n> I think it's the same procedure as the \"update\" step, which\n> describes this in more detail. I agree that the \"patch\" section does\n> not make this obvious.\n\n  thanks, i was hoping i wasn't being a complete idiot. given time, i\nmay submit a patch to fix the man page unless someone else gets to it\nfirst.\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"},{"id":"364805","messageId":"alpine.LFD.2.21.1812081121420.29731@localhost.localdomain","threadId":"49937","inReplyTo":"CACsJy8AkMfZ02b9p2sQi2p=Bw4MDckLYy_cBFVeN2_UY-Z3kCg@mail.gmail.com","subject":"Re: \"git add -p\" versus \"git add -i\", followed by \"p\"","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-12-08T16:22:18Z","receivedAt":"2018-12-08T16:22:25Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"On Sun, 2 Dec 2018, Duy Nguyen wrote:\n\n> On Sun, Dec 2, 2018 at 6:05 PM Robert P. J. Day <rpjday@crashcourse.ca> wrote:\n> > >   Patch update>> 2\n> > >              staged     unstaged path\n> > >   * 1:    unchanged        +1/-0 README.md\n> > >   * 2:    unchanged        +1/-0 contrib/README\n> > >     3:    unchanged        +1/-0 t/README\n> > >   Patch update>>\n> > >\n> > > Here I hit enter.  Did you?\n> >\n> >   perhaps i'm just not seeing it, but from \"man git-add\", it\n> > doesn't seem obvious that you would first select the files to work\n> > with, then hit a simple CR to get into actual patch mode.\n>\n> I think it's the same procedure as the \"update\" step, which\n> describes this in more detail. I agree that the \"patch\" section does\n> not make this obvious.\n\n  when i get a chance, i'll try to reword it.\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"}]}