JaroslavTulach commented on pull request #2949:
URL: https://github.com/apache/netbeans/pull/2949#issuecomment-843090256


   No, the code wasn't written by me. I tried to admit that by making myself a 
committer, but not author of a07981a. Deeper investigation of all the commits 
shows:
   ```bash
   visualvm$ git log affe1eb1308554...e88fe0edbb | grep ^Author: | sort -u
   Author: Brandon Fish <[email protected]>
   Author: Jiri Sedlacek <[email protected]>
   Author: Tomas Hurka <[email protected]>
   visualvm$ git log affe1eb1308554...e88fe0edbb | grep ^Author.*Hurka | wc -l
   552
   visualvm$ git log affe1eb1308554...e88fe0edbb | grep ^Author.*Sedlacek | wc 
-l
   446
   visualvm$ git log affe1eb1308554...e88fe0edbb | grep ^Author.*Fish | wc -l
   1
   ```
   E.g except 
https://github.com/oracle/visualvm/commit/9efce02560871140feda1d3e9ca528714e932cff
 all the code is written by either @thurka or @jisedlac. Now, let's try to 
select just the commits related to `visualvm/libs.profiler/lib.profiler`. I 
have written following `filter.sh` script:
   ```bash
   git log affe1eb1308554...e88fe0edbb | grep commit | cut -d " " -f2 | while 
read X; do 
     D=`git show $X | filterdiff -i '*/visualvm/libs.profiler/lib.profiler/**'`
     if [ "x$D" == "x" ]; then 
        # echo None $D
        IGNORE=$D
      else 
        git show $X | grep ^Author: 
      fi 
   done
   ```
   Running `filter.sh | wc -l` yields `87`. 78 commits by @thurka and 9 by 
@jisedlac. The 
https://github.com/oracle/visualvm/commit/9efce02560871140feda1d3e9ca528714e932cff
  commit isn't included in a07981a at all.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to