Check with sdboyer in IRC - hopefully this is the right place for this bug.

In the log of commits for a project both the displayed hash AND the hash in the URL are shortened.

This means at some point th eURL may become invalid because it will potentially refer to more than one commit.

e.g. in my commit history there is a link to http://drupalcode.org/project/apachesolr.git/commit/fb5de25

The proposed fix is simply to use the full hash whenever formulating a URL.

Comments

marvil07’s picture

Status: Active » Postponed (maintainer needs more info)

I do not understand the problem :-(, It is ok to not use full hashes if we are pointing to a gitweb with pathinfo enabled.

I suppose you are referring to commits pages like http://drupal.org/node/204268/commits but I do not really see what is the problem if there are more than one #nid in the message

Can you point me to a link where I can appreciate the problem?

marvil07’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (works as designed)

Cleaning, please reopen if needed.