Project

General

Profile

Actions

Defect #7485

closed

git commit --amend doesn't produce appropriate results in the repository browser

Added by Toni Mueller about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-01-28
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I pushed a commit that I created with --amend since I had forgotten to add two files. In the repository browser, I can see a list of files like this:

file1    <git rev spec>
file2    <another git rev spec>
added1
added2
file3    <yet another git rev spec>

Please note the missing rev specs for the two files 'added1' and 'added2'. I can click 'View', though, and see the file, just not the history & stuff.

I'm using git 1.7.1.

Actions #1

Updated by Toni Mueller about 13 years ago

After doing a normal commit and a normal git push, these files still don't gain any history. With eg. 'git log added1', I can see their history just fine.

Actions #2

Updated by Toni Mueller about 13 years ago

Deleting the files, then commit, then add the files, then commit again (ie, w/o --amend or -f) still does not gain them history.

Actions #3

Updated by Toni Mueller about 13 years ago

  • Status changed from New to Resolved

pebkac, darn!

Actions #4

Updated by Toshi MARUYAMA about 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF