Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On super: ./configure && make -s clean marks git tree as dirty #1500

Closed
frank-dittrich opened this issue Jul 6, 2015 · 2 comments
Closed
Assignees

Comments

@frank-dittrich
Copy link
Collaborator

A newly cloned repo:

[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ make -s distclean
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ ./configure --disable-cuda --disable-openmp > /dev/null
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ make -s clean
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e+
[frank@super src]$ make -s distclean
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e+
[frank@super src]$ git diff
[frank@super src]$ git status
# On branch bleeding-jumbo
nothing to commit (working directory clean)
[frank@super src]$ git checkout HEAD
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ make -s clean
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ ./configure --disable-cuda --disable-openmp > /dev/null
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ make -s clean
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e+
[frank@super src]$ git checkout HEAD
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ ./configure --disable-cuda --disable-openmp --disable-opencl > /dev/null
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ make -s clean
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e+

Any idea what causes this?

[frank@super src]$ cd ../..
[frank@super git]$ cp -i -a JohnTheRipper/ JohnTheRipper2/
[frank@super git]$ diff -r JohnTheRipper JohnTheRipper2
[frank@super git]$ cd JohnTheRipper/src/
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e+
[frank@super src]$ git checkout HEAD
[frank@super src]$ git describe --tags --dirty=+
1.8.0.6-jumbo-1-240-ga4c2f3e
[frank@super src]$ cd ..
[frank@super JohnTheRipper]$ cd ..
[frank@super git]$ diff -r JohnTheRipper JohnTheRipper2
Binary files JohnTheRipper/.git/index and JohnTheRipper2/.git/index differ
[frank@super git]$ git --version
git version 1.7.1

Currently, I assume a bug in super's git version. But I am not sure.
On my local system I have

(bleeding-jumbo)run $ git --version
git version 2.4.3
@magnumripper
Copy link
Member

It sure looks like a bug in git.

@frank-dittrich
Copy link
Collaborator Author

I think we can close this one.
I just wanted to have it documented for others who want to search whether the issue has already been reported. That's why I still created the issue even when I finally found the likely culprit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants