On 1/31/07, Bill Lear <rael@xxxxxxxxxx> wrote:
When updating in cvs, I get a list of files changed by the update. How can I do this in git when fetching into a bare repo? % GIT_DIR=. git fetch git://source/project remote: Generating pack... remote: Done counting 18 objects. remote: Result has 10 objects. remote: Deltifying 10 objects. remote: 100% (10/10) done Unpacking 10 objects remote: Total 10, written 10 (delta 6), reused 7 (delta 3) 100% (10/10) done
You are just fetching the objects, but you are not storing the tip of the branch (in this case HEAD) anywhere. Use the verbose flag (-v) to get the commit hash $ git fetch -v ${remote} .... * fetched ${remote} commit: ${hash} Santi - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html