Answers.Body: <p>The diff is between the most recent commit and the start of the branch. It's not just the diff of the last commit, it's every commit (stacked on top of each other) since the branch's origins. </p>
  
  <p>If that weren't the case, it'd be nigh impossible to provide meaningful feedback to a code review for a branch's pull request.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-17T01:12:29.363Z
Answers.LastActivityDate: 2020-01-17T01:12:29.363Z
Answers.UserDisplayName: Flater
Body: <p>My students currently submit their code in Bitbucket and create a pull request. Bitbucket has a code review tool that allows me to create comments tied to specific lines in the code. I really like this. However, it only lets me comment on the diff, so I can only comment on code in the most recent commit. I want to be able to comment on the entire source file. Is there a tool that lets me do that in a similar fashion? </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-17T21:08:42.910Z
Comments.Text: At least on github, you can add comments to any line of a file (in a commit, and probably a PR if you « expand the diff » to see more)
Comments.UserDisplayName: D. Ben Knoble
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-17T22:58:17.630Z
Comments.Text: As you seem to be, successfully, using git. It would be nice if you can provide some help with this question https://cseducators.stackexchange.com/q/2897/204
Comments.UserDisplayName: ctrl-alt-delor
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-18T15:36:57.193Z
Comments.Text: Why can't you just do a merge or pull request with the comments in the code itself. Then as the students develop the code they can remove the comments. Also maybe the students should take your comments, convert them in to *TODO* comments and then use that as a guide.
Comments.UserDisplayName: Guy Coder
Tags: <grading>
Title: Putting feedback comments on source code when grading
ThreadText: # Putting feedback comments on source code when grading
  
  (Asked by: username_0 on 2020-01-16)
  
  My students currently submit their code in Bitbucket and create a pull request. Bitbucket has a code review tool that allows me to create comments tied to specific lines in the code. I really like this. However, it only lets me comment on the diff, so I can only comment on code in the most recent commit. I want to be able to comment on the entire source file. Is there a tool that lets me do that in a similar fashion?
  
  **Tags:** grading
  
  > **Comments:**
  > **username_1**: At least on github, you can add comments to any line of a file (in a commit, and probably a PR if you « expand the diff » to see more)  
  > **username_2**: As you seem to be, successfully, using git. It would be nice if you can provide some help with this question https://cseducators.stackexchange.com/q/2897/204  
  > **username_3**: Why can't you just do a merge or pull request with the comments in the code itself. Then as the students develop the code they can remove the comments. Also maybe the students should take your comments, convert them in to *TODO* comments and then use that as a guide.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2020-01-17. Score: 1
  
  The diff is between the most recent commit and the start of the branch. It's not just the diff of the last commit, it's every commit (stacked on top of each other) since the branch's origins.
  
  If that weren't the case, it'd be nigh impossible to provide meaningful feedback to a code review for a branch's pull request.
  
  
  ---
  
  